change inventory through scripting

A forum for discussing map making ideas and problems for the Myth series.
Post Reply
User avatar
carlinho
Posts: 1224
Joined: Tue Jun 08, 2004 8:23 pm

change inventory through scripting

Post by carlinho »

I used the change inventory through scripting and nothing happened
anybody used it and knows some inside into what makes it happen?
http://carlinho7.tripod.com
Home of ANCIENT and CLASSICAL GREECE plugin on the works.
Image
User avatar
Pyro
Bug Finder Extraordinaire
Posts: 4751
Joined: Sun Mar 21, 2004 2:14 pm
Location: Texas

Post by Pyro »

You have to specify to what they should change. Look at the artifact's projectile tag. The tag ID, that 4 letter/number code, is what you need to add to that parameter. If the tag ID has any character that is not a number or a letter, you might have issues. I had a tag ID with a bracket "[", but when I placed it in Loathing it appeared as that "y" with two dots above. The script would not work, so I went back and duplicated the projectile tag so its new tag ID had only letters and/or numbers. Made the artifact connect to the new projectile and added the tag ID into Loathing. It worked.
User avatar
carlinho
Posts: 1224
Joined: Tue Jun 08, 2004 8:23 pm

Post by carlinho »

cool, thanks pyro!
maybe that's what's happening...
I'll give it a look


:wink:
http://carlinho7.tripod.com
Home of ANCIENT and CLASSICAL GREECE plugin on the works.
Image
Post Reply