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

WereWolf Spell

Status
Not open for further replies.
Level 8
Joined
Aug 3, 2008
Messages
391
Make an ability based on Chaos ability and set the Unit field into the werewolf version of your unit. Let's call it "Lycanthrope".

Create a trigger like this:

  • Events
    • Game - The in-game time of day becomes Equal to 0.00
  • Conditions
  • Actions
    • Unit Group - Pick every unit in (Units in (Playable map area) matching ((Unit-type of (Matching unit)) Equal to YourUnit)) and do (Actions)
      • Loop - Actions
        • Unit - Add Lycanthrope to (Picked unit)
This will turn it into Werewolf at midnight. Then you make another trigger like the above with the time changed and removes the ability.

Hope works, cheers.
 
Level 2
Joined
Jan 25, 2009
Messages
14
Make an ability based on Chaos ability and set the Unit field into the werewolf version of your unit. Let's call it "Lycanthrope".

Create a trigger like this:

  • Events
    • Game - The in-game time of day becomes Equal to 0.00
  • Conditions
  • Actions
    • Unit Group - Pick every unit in (Units in (Playable map area) matching ((Unit-type of (Matching unit)) Equal to YourUnit)) and do (Actions)
      • Loop - Actions
        • Unit - Add Lycanthrope to (Picked unit)
This will turn it into Werewolf at midnight. Then you make another trigger like the above with the time changed and removes the ability.

Hope works, cheers.
cool ill try it but if i want to make it he changes at 18:00 and returns at 6:00 would i do the same thing except 2 events?
 
Level 2
Joined
Jan 25, 2009
Messages
14
Yeah. Try it.
cool it works. okay then 3 more things. how do i make a sound play to all players like pudges ulti to show that he became a wolf? and what should i base the first ability on? and how do i remove it when it becomes day again seeing as the way u told me isnt working?
 
Last edited:
Level 7
Joined
Oct 14, 2008
Messages
340
Do a trigger that checks it periodically.
  • Event
    • Periodic event - every 2.00 seconds of game time
  • Conditions
  • Actions
    • If time of day > 18.00 or time of day < 6.00 then
      • Add lycanthrope to unit
    • else
      • remove lycantrhope from unit
Sorry for the lazy presentation- I've been drinking.
 
Level 8
Joined
Nov 9, 2008
Messages
502
Chaos isn't removable ability. Once you give chaos to a unit and it's effect plays (i.e. unit changes into other unit) you cant remove because it's not there. Either make another chaos ability to change back or I recommend storing the original unit into a variable and use a trigger to put him back when u want to change wolf back.
 
Last edited:
Level 8
Joined
Aug 3, 2008
Messages
391
Chaos isn't removable ability. Once you give chaos to a unit and it's effect plays (i.e. unit changes into other unit) you change remove it to change unit back. Either make another chaos ability to change back or I recommend storing the original unit into a variable and use a trigger to put him back when u want to change wolf back.

Yeah ok, I believe you.
 
Status
Not open for further replies.
Top