• Check out the results of the Techtree Contest #19!
  • 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.
  • Create a void inspired texture for Warcraft 3 and enter Hive's 34th Texturing Contest: Void! Click here to enter!
  • The Hive's 22nd Icon Contest: Creep Abilities is now concluded, time to vote for your favourite set of icons! Click here to vote!

special effect on attack

Status
Not open for further replies.
vegavak, why bother replying, it has nothing to do with the post. I just said id LIKE it to be done without triggers, not "i want my map to run as smoothly as a JASS map, but i don't want it to be written with JASS."

@ just_spectating: thats what i have right now, but im looking to give the unit the bash ability, but i cant do that since its ranged. any way to help?
 
Two triggers:
  • trigger1
    • Events
      • Unit - A unit enters (Playable map area)
    • Conditions
    • Actions
      • Trigger - Add to trigger2 the event "Unit - (Triggering unit) takes damage"
  • trigger2
    • Events
    • Conditions
      • (Damage source) is a Melee attacker equal to (True)
    • Actions
      • Set Temp_Point = (Position of (Damage source))
      • Special effect - Display a special effect at Temp_Point using RaspberryCheesecake.mdl
      • Special effect - Destroy (Last created special effect)
      • Custom script: call RemoveLocation( udg_Temp_Point )
It leaks, though, and I'm not either sure if it will work...
BTW, I don't have the editor up now, so change "RaspberryCheesecake.mdl" to the actual Thunder Clap model.
I'm not either sure if this is what you wanted.
 
Last edited:
I was explaining that you had to use triggers to achieve the effect you wanted. A 'Just because you wish it to be true, does not make it true.' sort of thing.

Thanks for the negative rep, Rui.
 
Status
Not open for further replies.
Back
Top