How do u make it so that if a items charge is 0 the attacking unit will not be able to attacvk or setting the units damage base to zero. If this is possible and u no how plz reply
Are you saying you want an ammunition system? When a unit gets the new ammunition you simply add charges to the ammunition. When you run out, check that item's ammo and see if he has any. If he doesn't, have him either treat them as an ally, or have an attack trigger make him stop
Yes it is an ammo thingy but if u make them an ally they will attack neway and I cant seem to find anythingy that will let me stop them from attacking.
maybe you could give the unit a buff thats like 100% chance to miss? or replace it with a unit with no attack? maybe theres a trigger that disables an attack or something... just some ideas
PS dont use order unit to stop because if u click fast enough u can get past that trigger before it runs again lol... ive tried before