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

simple invisible request

Status
Not open for further replies.
Level 12
Joined
Dec 17, 2009
Messages
951
i need a spell for a unit:
ex:
Day: visible
Night: invisible
But the unit use wander ability so he walk inivisible on night and visible on day.
how can i do that?
thanks.
 

Sverkerman

Hosted Project: BoW
Level 17
Joined
Feb 28, 2010
Messages
1,325
Simply use the action "Hide/Show Unit"

Use an event to indicate if it is Night and another one if it is Day.

Event: Clock becomes 18:00
Condition:
Action: Hide (your unit)


Event: Clock becomes 06:00
Condition:
Action: Show (your unit)
 
Status
Not open for further replies.
Top