• 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.

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
 
Level 4
Joined
Jun 2, 2012
Messages
747
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!
 
Level 4
Joined
Jun 2, 2012
Messages
747
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!
 
Level 11
Joined
Aug 31, 2011
Messages
297
Something like this~
hero.jpg
 
Status
Not open for further replies.
Top