PLEASE HELP WITH TRIGGERS

Status
Not open for further replies.
Level 2
Joined
Mar 17, 2020
Messages
8
For those people already advanced in map making. Please I need some help with my map.
So I want to create an effect, when there is night
-the villagers dissapear
-small fog is created in the town
-the music changes
-units can not be trained by the player
-order some AI units to move to a given location when nightime comes and move back when day comes

Also I want to make a timer, every time it becomes day, a timer appears couting down the time it will take to another night fall.

PLEASE HELP…
 
There is a event that detects daytime :
  • Game - The in-game time of day becomes Equal to 0:00
-the villagers dissapear
Add them to a unit group variable and hide when it's nighttime
-units can not be trained by the player
Make them unavailable for training during the night and vice versa.
Also I want to make a timer, every time it becomes day, a timer appears couting down the time it will take to another night fall.
This might be a little complicated since you can't exactly tell how many seconds have passed with the current wc3 clock system because it doesn't use real life seconds... (Unless you change that in Gameplay Constants)
 
Also I want to make a timer, every time it becomes day, a timer appears couting down the time it will take to another night fall.
This might be a little complicated since you can't exactly tell how many seconds have passed with the current wc3 clock system because it doesn't use real life seconds... (Unless you change that in Gameplay Constants)

Well since the timing can be messed up when using the normal Warcraft 3 time what you can do is make a periodic trigger that runs every second, then you count down an integer. Show the integer in a scoreboard to simulate a timer window. When it reaches zero it becomes night.
 
PLZ HALP.png
 
Status
Not open for further replies.
Back
Top