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

[Trigger] DumMy, SpeLL!!

Status
Not open for further replies.
Level 5
Joined
Mar 24, 2008
Messages
98
  • Events
    • Unit - A unit Starts the effect of an ability
  • Conditions
    • (Ability being cast) Equal to Storm Bolt
  • Actions
    • Set Unit = (Casting unit)
    • Set TempPoint = (Position of Unit)
    • Unit - Create 1 Footman for (Owner of Unit) at TempPoint facing (Facing of Unit) degrees
    • Wait 0.45 seconds
    • Custom script: call RemoveLocation(udg_TempPoint)
    • Set TempPoint = (Target point of ability being cast)
    • Unit - Add Shockwave (Neutral Hostile) to (Last created unit)
    • Unit - Order (Last created unit) to Orc Tauren Chieftain - Shockwave TempPoint
    • Wait 1.00 seconds
    • Custom script: call RemoveLocation(udg_TempPoint)
    • Wait 0.30 seconds
    • Unit - Remove (Last created unit) from the game
I guess what I made is right.. But then!! When the dummy casts the spell, Instead of casting the spell to the target, It goes in a different direction.. Can some body tell me how ta fIx this? :cry:
 
Level 12
Joined
Apr 27, 2008
Messages
1,228
Make it like this
  • Events
    • Unit - A unit Starts the effect of an ability
  • Conditions
    • (Ability being cast) Equal to Storm Bolt
  • Actions
    • Set Unit = (Casting unit)
    • Set TempPoint = (Position of Unit)
    • Unit - Create 1 Footman for (Owner of Unit) at TempPoint facing (Facing of Unit) degrees
    • Custom script: call RemoveLocation(udg_TempPoint)
    • Set TempPoint = (Target point of ability being cast)
    • Unit - Add Shockwave (Neutral Hostile) to (Last created unit)
    • Unit - Order (Last created unit) to Orc Tauren Chieftain - Shockwave TempPoint
    • Custom script: call RemoveLocation(udg_TempPoint)
    • Unit - Add a 5 second generic expiration timer to (Last created unit)
Just set the casting time of the spell(in the Object Editor) to whatever you like.
 
Level 5
Joined
Mar 24, 2008
Messages
98
Make it like this
  • Events
    • Unit - A unit Starts the effect of an ability
  • Conditions
    • (Ability being cast) Equal to Storm Bolt
  • Actions
    • Set Unit = (Casting unit)
    • Set TempPoint = (Position of Unit)
    • Unit - Create 1 Footman for (Owner of Unit) at TempPoint facing (Facing of Unit) degrees
    • Custom script: call RemoveLocation(udg_TempPoint)
    • Set TempPoint = (Target point of ability being cast)
    • Unit - Add Shockwave (Neutral Hostile) to (Last created unit)
    • Unit - Order (Last created unit) to Orc Tauren Chieftain - Shockwave TempPoint
    • Custom script: call RemoveLocation(udg_TempPoint)
    • Unit - Add a 5 second generic expiration timer to (Last created unit)
Just set the casting time of the spell(in the Object Editor) to whatever you like.
Oh, It really helped me.. :grin: , thanks a lOt
 
Status
Not open for further replies.
Top