• 🏆 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!

Spell Help

Status
Not open for further replies.
Level 7
Joined
Jan 15, 2008
Messages
179
Im making a hero about lycans (werewolves) an vampires and i made a roar/howl move at the same time. So that would decrease attack of enemy but at the same time it would raise your attack. This is my set up can some one remake it for me.



Untitled Trigger 001
Events
Unit - Werepire 0000 <gen> Begins casting an ability
Conditions
(Ability being cast) Equal to Roar (Neutral Hostile)
Actions
Unit - Add Howl of Terror (Neutral Hostile) to Werepire 0000 <gen>
Unit - Order Werepire 0000 <gen> to Neutral Pit Lord - Howl Of Terror



Untitled Trigger 002
Events
Unit - Werepire 0000 <gen> Begins casting an ability
Conditions
(Ability being cast) Equal to Howl of Terror (Neutral Hostile)
Actions
Unit - Remove Howl of Terror (Neutral Hostile) from Werepire 0000 <gen>
Wait 1.00 seconds
Unit - Order Werepire 0000 <gen> to Hold Position
Trigger - Turn on Untitled Trigger 001 <gen>
 
Well for this spell you would have to create a dummy-unit. Just a unit that cannot be seen or harmed, there are tutorials ;)
Other than that:
  • Trigger1
    • Events
      • Unit - A unit Starts the effect of an ability
    • Conditions
      • (Ability being cast) Equal to Roar (Neutral Hostile)
    • Actions
      • Set CasterVariable = (Triggering unit)
      • Set CasterLocVariable = (Position of CasterVariable)
      • Unit - Create 1 Footman for (Owner of CasterVariable) at CasterLocVariable facing Default building facing degrees
      • Unit - Add a 10.00 second Generic expiration timer to (Last created unit)
      • Unit - Add Howl of Terror (Neutral Hostile) to (Last created unit)
      • Unit - Order (Last restored unit) to Neutral Pit Lord - Howl Of Terror
      • Custom script: call RemoveLocation(udg_CasterLocVariable)
 
Level 7
Joined
Jan 15, 2008
Messages
179
A few years ago i used to be able to do good triggers but i decided to give up on it. A year ago I made a spell pack (not here) and i spend hours on it. And world edit crashed and so i gave up. Now i have decide to redo my work. So i might be able to do my triggers again. Also i know what dummies are also i had a few minutes to make the spell that i posted so if i took my time i could have done better. Also the spell didnt work



  • Trigger Roar
    • Events
      • Unit - A unit Starts the effect of an ability
    • Conditions
      • (Ability being cast) Equal to Roar (Neutral Hostile)
    • Actions
      • Set CasterVariable = (Triggering unit)
      • Set CasterLocVariable = (Position of CasterVariable)
      • Unit - Create 1 Footman for (Owner of CasterVariable) at CasterLocVariable facing Default building facing degrees
      • Unit - Add a 10.00 second Generic expiration timer to (Last created unit)
      • Unit - Add Howl of Terror (Neutral Hostile) to (Last created unit)
      • Unit - Order (Last restored unit) to Neutral Pit Lord - Howl Of Terror
      • Custom script: call RemoveLocation(udg_CasterLocVariable)
 
Status
Not open for further replies.
Top