I have an inventory system with multiple items. I need to display dialog images when the hero buys or picks up an item. Basically, when I buy an item, I display a small image with the item's information that replaces the normal "Weapon" image of the unit. If the hero drops the item, the image is deleted. This system works, but I am having problems when the hero picks up an item on the ground.
I need an event that would be similar to "Hero Picks Up Light Cannon", where "Light Cannon" would be a unit type. All I can do right now is choose units that are actually in the map. I guess I'll need the function "Value from Data Table (Unit)"?
Thanks, I was searching for this condition in the actual event... Anyways, now I have another problem. The Event "Picks Up" triggers when I buy an item. Is this a bug?
Rollback Post to RevisionRollBack
To post a comment, please login or register a new account.
I have an inventory system with multiple items. I need to display dialog images when the hero buys or picks up an item. Basically, when I buy an item, I display a small image with the item's information that replaces the normal "Weapon" image of the unit. If the hero drops the item, the image is deleted. This system works, but I am having problems when the hero picks up an item on the ground.
I need an event that would be similar to "Hero Picks Up Light Cannon", where "Light Cannon" would be a unit type. All I can do right now is choose units that are actually in the map. I guess I'll need the function "Value from Data Table (Unit)"?
Any help would be greatly appreciated.
@Dwarfius88: Go
Umm SO
Event
- any unit picks up item
Conditions
-Item type = Type of (Trigering item)
-Unittype = Type of (triggering unit)
Actions
-Do stuff
If you need a more descriptive answer maybe I can help you later tonight on irc or pm me
Thanks, I was searching for this condition in the actual event... Anyways, now I have another problem. The Event "Picks Up" triggers when I buy an item. Is this a bug?