This site works best with JavaScript enabled. Please enable JavaScript to get the best experience from this site.
i have seen games where some items work in inventory bag without having to equip them to a hero. how is that done and can it be done to all items?
Hello,
A unit can wear an inventory bag and any item is considered as "carried" by the unit.
You may "equip" this item to the unit in a specific slot, depending on the class like "sword", "bow" ... that you decide the function.
Look for the field "Carry Behavior Array +" in Item tab.
Add a Behavior to execute Effects while the item is carried by the unit.
You have some examples in tabs :
- Game data > Ability : Test Inventory
- Game data > Item : Healing Potion TEST [Target, Instant]
- Advanced Game data > Item Container : WoW Character ... .
- Advanced Game data > Item Class : Bag, Potion, Sword ... .
Have a nice day !
In reply to Phosphatidylinositol_:
thanks that worked. I'm still spoiled by warcraft 3 lol where everything was super easy to edit and worked automatically as is if u didn't edit.
i have seen games where some items work in inventory bag without having to equip them to a hero. how is that done and can it be done to all items?
Hello,
A unit can wear an inventory bag and any item is considered as "carried" by the unit.
You may "equip" this item to the unit in a specific slot, depending on the class like "sword", "bow" ... that you decide the function.
Look for the field "Carry Behavior Array +" in Item tab.
Add a Behavior to execute Effects while the item is carried by the unit.
You have some examples in tabs :
- Game data > Ability : Test Inventory
- Game data > Item : Healing Potion TEST [Target, Instant]
- Advanced Game data > Item Container : WoW Character ... .
- Advanced Game data > Item Class : Bag, Potion, Sword ... .
Have a nice day !
In reply to Phosphatidylinositol_:
thanks that worked. I'm still spoiled by warcraft 3 lol where everything was super easy to edit and worked automatically as is if u didn't edit.