snmiglight
Active Member
- Reaction score
- 3
i have searched the forums and followed instructions... but
i still have problems triggering the ability right...
why does the skill keep going back to level1
when night/day breaks?
CHECKDAY:
CHECK NIGHT
DAYTTIME
NIGHTTIME
i have attached the sample map here...
* triggers Nighttime and Daytime are NOT initially on.
** HitN_Level is an Integer variable.
WHAT'S WRONG WITH THESE? HELP!
i still have problems triggering the ability right...
why does the skill keep going back to level1
when night/day breaks?
CHECKDAY:
Code:
Check Day
Events
Game - The in-game time of day becomes Equal to 6.00
Conditions
Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
Then - Actions
Trigger - Turn on Daytime <gen>
Trigger - Turn off Nighttime <gen>
Else - Actions
Do nothing
CHECK NIGHT
Code:
Check Night
Events
Game - The in-game time of day becomes Equal to 18.00
Conditions
Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
Then - Actions
Trigger - Turn off Daytime <gen>
Trigger - Turn on Nighttime <gen>
Else - Actions
Do nothing
DAYTTIME
Code:
Daytime
Events
Time - Every 1.00 seconds of game time
Conditions
Actions
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 Balanar
Then - Actions
Set Hitn_Level = (Level of Hunter in the Night for (Picked unit))
Unit - Remove Hunter in the Night from (Picked unit)
Unit - Add Hunter in the Night (Daytime) to (Picked unit)
Unit - Set level of Hunter in the Night (Daytime) for (Picked unit) to Hitn_Level
Else - Actions
Do nothing
NIGHTTIME
Code:
Nighttime
Events
Time - Every 1.00 seconds of game time
Conditions
Actions
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 Balanar
Then - Actions
Set Hitn_Level = (Level of Hunter in the Night (Daytime) for (Picked unit))
Unit - Remove Hunter in the Night (Daytime) from (Picked unit)
Unit - Add Hunter in the Night to (Picked unit)
Unit - Set level of Hunter in the Night for (Picked unit) to Hitn_Level
Else - Actions
Do nothing
i have attached the sample map here...
* triggers Nighttime and Daytime are NOT initially on.
** HitN_Level is an Integer variable.
WHAT'S WRONG WITH THESE? HELP!