- Joined
- Nov 30, 2013
- Messages
- 926
I'm trying to make a trigger that the unit's mana will starting to reduce in night time and it will stop in day time.
-
Night And Day
-
Events
- Time - Every 1.00 seconds of game time
- Conditions
-
Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- ((In-game time of day) Greater than 18.00) and ((In-game time of day) Less than 6.00)
-
Then - Actions
-
Unit Group - Pick every unit in (Units of type Survivor) and do (Actions)
-
Loop - Actions
- Unit - Set mana of (Picked unit) to ((Mana of (Picked unit)) - 1.00)
-
Loop - Actions
-
Unit Group - Pick every unit in (Units of type Survivor) and do (Actions)
- Else - Actions
-
If - Conditions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
Events