Hello!
I need help with something. I have an integer variable called "Ammo" and I want some type of units, like the rifleman or the siege engine, to shoot only if the variable is greater than 0 and consume 1 unit of ammo when they shoot (if they don't have ammo, they should run away when they receive damage?). How can I do that with triggers?
Thanks!
I need help with something. I have an integer variable called "Ammo" and I want some type of units, like the rifleman or the siege engine, to shoot only if the variable is greater than 0 and consume 1 unit of ammo when they shoot (if they don't have ammo, they should run away when they receive damage?). How can I do that with triggers?
Thanks!