• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

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…
 
Level 30
Joined
Feb 18, 2014
Messages
3,623
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.
 
Level 25
Joined
Feb 9, 2009
Messages
1,800
PLZ HALP.png
 
Status
Not open for further replies.
Top