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

[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