HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Trigger to return gold cost of manipulated item?

01-20-2003, 11:37 PM#1
Guest
I'm wondering if there's a way to return the value for the gold cost of a given item -- I'm trying to design a trigger for selling items.

Essentially, a player drops an item onto a customized hero-class unit, and gets a % of the gold cost back. I will have over 35 custom items in my map, so I don't really want to create triggers for each seperate item.

Is there a way, in custom text, to return the gold cost of an item?