[Request help for Mana question]

Status
Not open for further replies.
go onto Trigger Editor. And do this.

Every X seconds (X is what you choose) (Usually 1 will do fine or 0.5)
Pick every unit in unit group all units of type (BOMB)
If/then/ else/
If picked units mana = 0
Then Give picked unit abil (Bomb) and order picked unit to cast abil (Bomb)
Else <Do nothing>


And if you want to create the bomb via abil then do a coutdown you would do this.

Unit cast abillity
Abillity = Place bomb
Create unit Bomb At Point of casted abillity.

New trigger
Every 1 second
Pick Unit in unit group, units of time Bomb
If Picked units mana =0
Then Give Picked unit abil Bomb, Order picked unit to cast abil Bomb
Else Set Picked unit mana to picked unit mana -1


This has leaks to get rid of leaks Use a temp group. There is a guide to getting rid of leaks on thehelper.net just google it
 
Status
Not open for further replies.
Back
Top