- Joined
- Jan 13, 2008
- Messages
- 13
Is it possible to to set up triggers to update raw data in a ability?
For example I gave a tower an attack bonus ability but I would like to update the Data1 so it can change the dmg bonus periodically.
So in all would it be possible to have an action like this:
For example I gave a tower an attack bonus ability but I would like to update the Data1 so it can change the dmg bonus periodically.
So in all would it be possible to have an action like this:
-
Unit Group - Pick every unit in (Units in (Playable map area)) and do (Actions)
-
Loop - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- (Unit-type of (Picked unit)) Equal to Tower
-
Then - Actions
- Unit set DATA1 of TOWER ABILITY for (Picked unit) to CUSTOM VALUE
- Else - Actions
-
If - Conditions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
Loop - Actions