- Joined
- May 16, 2020
- Messages
- 660
Hi guys,
I have 2 triggers which are supposed to recognize time changes, and for >6:00 am and >18:00 pm change the level of some abilities to 5.
For the natural daycycle these triggers work. However, if I change the game-time via Moonstone (to 00:00), the triggers fail to recognize the time as "midnight" (you will see two "kill" commands in the trigger - I added those just to test what happens. Via moonstone ability the Footman still lives)
Can anyone please point out what I'm doing wrong?
I have 2 triggers which are supposed to recognize time changes, and for >6:00 am and >18:00 pm change the level of some abilities to 5.
For the natural daycycle these triggers work. However, if I change the game-time via Moonstone (to 00:00), the triggers fail to recognize the time as "midnight" (you will see two "kill" commands in the trigger - I added those just to test what happens. Via moonstone ability the Footman still lives)
Can anyone please point out what I'm doing wrong?
-
Day Comes
-
Events
-
Game - The in-game time of day becomes Greater than or equal to 6.00
-
-
Conditions
-
Actions
-
Unit - Set level of Crippling Fear (Active) for CripplingFear_Learner to 5
-
Unit - Set level of Hunter in the Night (Active) for HunterInTheNight_Learner to 5
-
Unit - Kill Peasant 0009 <gen>
-
-
-
Night Falls
-
Events
-
Game - The in-game time of day becomes Greater than 18.00
-
-
Conditions
-
Actions
-
Unit - Set level of Crippling Fear (Active) for CripplingFear_Learner to (Level of Crippling Fear for CripplingFear_Learner)
-
Unit - Set level of Hunter in the Night (Active) for HunterInTheNight_Learner to (Level of Hunter in the Night for HunterInTheNight_Learner)
-
Unit - Kill Footman 0006 <gen>
-
-
-
Hunter in the Night Learn
-
Events
-
Unit - A unit Learns a skill
-
-
Conditions
-
(Learned Hero Skill) Equal to Hunter in the Night
-
-
Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
(Learned skill level) Equal to 1
-
-
Then - Actions
-
Set VariableSet HunterInTheNight_Learner = (Triggering unit)
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
Or - Any (Conditions) are true
-
Conditions
-
(Day Comes <gen> is on) Equal to False
-
(Night Falls <gen> is on) Equal to False
-
-
-
-
Then - Actions
-
Trigger - Turn on Day Comes <gen>
-
Trigger - Turn on Night Falls <gen>
-
-
Else - Actions
-
-
Unit - Add Hunter in the Night (Active) to HunterInTheNight_Learner
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
Or - Any (Conditions) are true
-
Conditions
-
(In-game time of day) Greater than 18.00
-
(In-game time of day) Less than 6.00
-
-
-
-
Then - Actions
-
Unit - Set level of Hunter in the Night (Active) for HunterInTheNight_Learner to (Level of Hunter in the Night for HunterInTheNight_Learner)
-
-
Else - Actions
-
Unit - Set level of Hunter in the Night (Active) for HunterInTheNight_Learner to 5
-
-
-
-
Else - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
Or - Any (Conditions) are true
-
Conditions
-
(In-game time of day) Greater than 18.00
-
(In-game time of day) Less than 6.00
-
-
-
-
Then - Actions
-
Unit - Set level of Hunter in the Night (Active) for HunterInTheNight_Learner to (Level of Hunter in the Night for HunterInTheNight_Learner)
-
-
Else - Actions
-
Unit - Set level of Hunter in the Night (Active) for HunterInTheNight_Learner to 5
-
-
-
-
-
-