- Joined
- Mar 24, 2011
- Messages
- 1,082
Hi I got stuck up with a future of my bunker system which I can't make to work and I don't know where the problem is from... Can you help me ?
And the map atached
-
Atack
-
Events
- Unit - A unit Starts the effect of an ability
-
Conditions
- (Ability being cast) Equal to Atack !
-
Actions
- Set TempUnit = (Casting unit)
- Set TempUnit2 = (Target unit of ability being cast)
- -------- Setting the custom value of the bunker --------
- Set TempInteger = (Custom value of TempUnit)
- -------- Picking all the units in the bunker and ordering them to atack --------
-
Unit Group - Pick every unit in BunkerUnitGroup[TempInteger] and do (Actions)
-
Loop - Actions
- Unit - Order (Picked unit) to Attack TempUnit2
-
Loop - Actions
-
Events