• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • It's time for the first HD Modeling Contest of 2024. Join the theme discussion for Hive's HD Modeling Contest #6! Click here to post your idea!

Making units appear in a specific time?

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