- Joined
- Sep 18, 2011
- Messages
- 195
Hi,
I was thinking about making an item system in gui/jass whatever, but I am not sure what to think of.
I want to make a system similar to (DotA) item system, but I am wondering how the creator removed the displaying message "Inventory is full".
I searched for this but everyone says that each item has a referring item but meant to be a rune (or powerup) version of it, then they are sorted in array with their IDs...
but I am thinking of the following series of actions:
- When the unit is issued an order targeting an object (which is an item) then stop the unit's order and make it move to the item's position.
- Using a unit indexing system, the unit now holds a boolean that tells the unit is going to get the item.
- When the unit is near enough the item, it picks it up (or it fires a trigger that manages recipes).
and:
- If the unit is issued another order, set the boolean to false.
- presuming that I have removed the custom text: "Inventory is full" and imported a "human inventory full" wav sound that is silent...
so... is this an efficient way, can this actually be used in dota, is there a better full system for this here in the hive??
Thanks for reading.
I was thinking about making an item system in gui/jass whatever, but I am not sure what to think of.
I want to make a system similar to (DotA) item system, but I am wondering how the creator removed the displaying message "Inventory is full".
I searched for this but everyone says that each item has a referring item but meant to be a rune (or powerup) version of it, then they are sorted in array with their IDs...
but I am thinking of the following series of actions:
- When the unit is issued an order targeting an object (which is an item) then stop the unit's order and make it move to the item's position.
- Using a unit indexing system, the unit now holds a boolean that tells the unit is going to get the item.
- When the unit is near enough the item, it picks it up (or it fires a trigger that manages recipes).
and:
- If the unit is issued another order, set the boolean to false.
- presuming that I have removed the custom text: "Inventory is full" and imported a "human inventory full" wav sound that is silent...
so... is this an efficient way, can this actually be used in dota, is there a better full system for this here in the hive??
Thanks for reading.