HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Item globals

08-19-2007, 05:30 AM#1
darkwulfv
If I make an item, set it to a global, and a hero picks it up and never sells it, drops it, uses it, etc., will the item global still have the value of said item? (I'm asking this because it seems that dropping/using items can change some wierd things.)
08-19-2007, 05:39 AM#2
MaD[Lion]
global var does not have any value of the item, it just points to the item. Unless you remove the item, else it wont disappear.
08-19-2007, 08:17 AM#3
botanic
Also as a note dropping or w/e else wont change the variable for that tem you would have to remove the item in some way for the variable to no longer be able to point to the item
08-19-2007, 08:34 AM#4
darkwulfv
Awesome. I've got a set of items, and only one of them actually does something special, so its set to a global so i can tell it apart from the others. I just wanted to be sure it wouldn't be overwritten or something stupid 'cause it was picked up.