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

Some help with an aura plz

Status
Not open for further replies.
Level 2
Joined
Feb 26, 2005
Messages
17
Hi im trying to make a aura that will make the hero faster at night time can some one tell me how to do an aura like that. Thanks alot for the help.
 
Level 11
Joined
Jul 20, 2004
Messages
2,760
Well... You can just remove the aura during the night and add a dummy ability.
Event - Every 0.10 seconds
Conditions - time of day is greater than 18 or less than 6 and Number Of Units within (Playable Map) Matching(Level of YourAbility for (Matching Unit) greater than 0)
Actions - Pick Up Every Unit within (Playable Map) Matching(Level of YourAbility for (Matching Unit) greater than 0) and do actions
- Remove YourAbility from (Matching Unit)
- Add DummyAbility for (Matching Unit)
During the day you invert things. You check for the DummyAbility and remove it from units, adding YourAbility. And as for the condition for time of day as day -
Time of Day Greater than 6 and less than 18.

~Daelin
 
Status
Not open for further replies.
Top