• 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] i doing a spelll whos very easy

Status
Not open for further replies.
Level 19
Joined
Feb 15, 2008
Messages
2,184
look this
  • Warchant
    • Events
      • Unit - A unit Starts the effect of an ability
    • Conditions
      • (Ability being cast) Equal to Warchant Lurtz
    • Actions
      • Unit - Order (Picked unit) to Orc Tauren Chieftain - War Stomp
      • Unit - Add a 1.00 second Generic expiration timer to (Last created unit)
      • Special Effect - Create a special effect at (Position of (Picked unit)) using Abilities\Spells\Orc\WarStomp\WarStompCaster.mdl
i want when my unit cast the spell he doing a warstomp that deals damage how i do that ?
 
Level 19
Joined
Feb 15, 2008
Messages
2,184
not working they unit dont get damaged ?

made this but now he damage him self O:

  • Warchant
    • Events
      • Unit - A unit Starts the effect of an ability
    • Conditions
      • (Ability being cast) Equal to Warchant Lurtz
    • Actions
      • Unit - Cause (Casting unit) to damage circular area after 0.01 seconds of radius 500.00 at (Position of (Casting unit)), dealing 500.00 damage of attack type Spells and damage type Normal
      • Unit - Order (Casting unit) to Orc Tauren Chieftain - War Stomp
      • Unit - Add a 1.00 second Generic expiration timer to (Last created unit)
      • Special Effect - Create a special effect at (Position of (Picked unit)) using war3mapImported\WarStompCasterPink.mdx
 
  • Warchant
  • Events
  • Unit - A unit Starts the effect of an ability
  • Conditions
  • (Ability being cast) Equal to Warchant Lurtz
  • Actions
  • Set TempLoc = Position of Triggering unit
  • Unit - Crate 1 dummy for triggering player at TempLoc default 270 degrees
  • Unit - Add a 1.00 second Generic expiration timer to (Last created unit)
  • Unit - Add WarStomp(dummy) to last created unit
  • Unit - Order (Last created unit) to Orc Tauren Chieftain - War Stomp
  • Special Effect - Create a special effect at TempLoc using war3mapImported\WarStompCasterPink.mdx
  • Special Effect - Destroy last created special effect
  • Custom script call RemoveLocation(udgTempLoc)
something like this
 
Level 7
Joined
Jul 20, 2008
Messages
377
It's also much more preferable to use "Triggering Unit" than "Casting Unit."
 
Status
Not open for further replies.
Top