• Check out the results of the Techtree Contest #19!
  • 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.
  • Create a void inspired texture for Warcraft 3 and enter Hive's 34th Texturing Contest: Void! Click here to enter!
  • The Hive's 22nd Icon Contest: Creep Abilities is now concluded, time to vote for your favourite set of icons! Click here to vote!

Making units appear in a specific time?

Status
Not open for further replies.
Level 4
Joined
Jun 2, 2012
Messages
747
Hey hiver! I am such a noob in triggers but How do I make units appear in Night time and dissapear in day time. Because in my current project, Im creating a quest there that you need to kill a werewolf called Night Stalker. This Night Stalker only appears at night. That's why Im askin on how to make units appear in night and dissapear in day time
 
Something like
Trigger 1
'Events
Game - Time of day - In-game time equal to 18.00

Actions
(Create Unit)
(Set Night Stalker unit to variable)'

Trigger 2
'Events
Game - Time of day - In-game time equal to 6.00

Actions
(Kill Night Stalker Unit)'

If i'm confusing you i'll make a quick test map.
Looks like this will work but I will test it! Here's a +REP for the help!
 
Something like
Trigger 1
'Events
Game - Time of day - In-game time equal to 18.00

Actions
(Create Unit)
(Set Night Stalker unit to variable)'

Trigger 2
'Events
Game - Time of day - In-game time equal to 6.00

Actions
(Kill Night Stalker Unit)'

If i'm confusing you i'll make a quick test map.
I am quite confuse on both trigger:
In Trigger 1 - What specific variable should I do? Maybe give an example variable?
In Trigger 2 - Be specific in Kill Night Stalker unit... Is it Kill triggering unit?

Maybe show me a demo map. Thanks!
 
Something like this~
hero.jpg
 
Status
Not open for further replies.
Back
Top