Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
Untitled Trigger 001

Events


Game - The in-game time of day becomes Equal to 12.00

Conditions

Actions


Special Effect - Create a special effect attached to the overhead of (Triggering unit) using Abilities\Spells\Other\TalkToMe\TalkToMe.mdl
Add ability to it.But,the regeneration ??Movement speed bonus ??
Don't set movement speed, it could bug if you don't handle it properly, just use Item Move Speed Bonus ability added to that unit, when Daytime, remove it.you can set movement speed with a trigger action, and you got to trigger the hp reg in a loop.
Come on, if the unit has the ability, it should be logic that only nearby units will get affected, right ?Come on -.- When the gametime reaches 18:00 create a dummy at the center of the map and add the aura to it. Make the AoE of the aura 99999999999 and you're set. When gametime reaches 6:00 remove the dummy.
Untitled Trigger 001

Events


Game - The in-game time of day becomes Equal to 18.00

Conditions

Actions


Unit - Add Unholy Aura to YourUnit
Untitled Trigger 001

Events


Game - The in-game time of day becomes Equal to 6.00

Conditions

Actions


Unit - Remove Unholy Aura from YourUnit
Aura

Events


Game - The in-game time of day becomes Equal to 6.00


Game - The in-game time of day becomes Equal to 18.00


Unit - A unit Learns a skill

Conditions

Actions


-------- Clean Group Leak --------


Custom script: set bj_wantDestroyGroup = true


-------- Loop all units --------


Unit Group - Pick every unit in (Units in (Playable map area)) and do (Actions)



Loop - Actions




-------- Manage time --------




If (All Conditions are True) then do (Then Actions) else do (Else Actions)





If - Conditions






(In-game time of day) Equal to 6.00





Then - Actions






-------- Swap Day --------






Unit - Add Unholy Aura (Day) to (Picked unit)






Unit - Set level of Unholy Aura (Day) for (Picked unit) to (Level of Unholy Aura (Night) for (Picked unit))






Unit - Remove Unholy Aura (Night) from (Picked unit)





Else - Actions






If (All Conditions are True) then do (Then Actions) else do (Else Actions)







If - Conditions








(In-game time of day) Equal to 18.00







Then - Actions








-------- Swap Night --------








Unit - Add Unholy Aura (Night) to (Picked unit)








Unit - Set level of Unholy Aura (Night) for (Picked unit) to (Level of Unholy Aura (Day) for (Picked unit))








Unit - Remove Unholy Aura (Day) from (Picked unit)







Else - Actions








-------- Handle Levelup --------








If (All Conditions are True) then do (Then Actions) else do (Else Actions)









If - Conditions










And - All (Conditions) are true











Conditions












(In-game time of day) Greater than 6.00












(In-game time of day) Less than 18.00









Then - Actions










-------- Levelup Day --------










Unit - Add Unholy Aura (Day) to (Picked unit)










Unit - Set level of Unholy Aura (Day) for (Picked unit) to (Level of Unholy Aura (Night) for (Picked unit))










Unit - Remove Unholy Aura (Night) from (Picked unit)









Else - Actions










If (All Conditions are True) then do (Then Actions) else do (Else Actions)











If - Conditions












And - All (Conditions) are true













Conditions














(In-game time of day) Greater than 18.00














(In-game time of day) Less than 6.00











Then - Actions












-------- Levelup Night --------












Unit - Add Unholy Aura (Night) to (Picked unit)












Unit - Set level of Unholy Aura (Night) for (Picked unit) to (Level of Unholy Aura (Day) for (Picked unit))












Unit - Remove Unholy Aura (Day) from (Picked unit)











Else - Actions
Note: This does not yet handle leveling up event, so if you level up while
having the day skill, you will then most likely have both night and day.
I can make a condition for such if needed.
Tell me how to make the condition
