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

Windwalk dummy spell problem...

Status
Not open for further replies.
Level 4
Joined
May 2, 2009
Messages
69
Hello to anyone reading this, and please help. I need an answer soon because I am leaving to go out of state in a few days.
I want to make it so when you use the backstab function of windwalk it shows a message to the target of the backstab saying something like, "You have been assassinated by (Name of player using windwalk)!".
I guess my problem is that all the event presets have to do with when you cast windwalk, not when you cast it and then backstab someone. And I can't use most simple variables because if I add the casting unit to a unit group and then add a trigger so when someone in the unit group attacks it will run the trigger, because it has leaked from having too many units do this at once.
It seems like a simple problem but I cannot figure it out. And if I didn't explain so well, just ask me to explain it again.
 
a unit starts ability, ability is wind walk, set windwalkunit = triggering unit then

if a unit is attacked, and attacking unit = windwalkunit, then set windwalkunit = no unit and display the game message. Problem is you gotta track usage of all spells the unit uses and use booleans, setting them to false or true so that the game message isnt displayed whenever the a unit is attacked by spells, but by only the wind walk attack.
 
hmmm try this unit is attacked, condition attacking unit has buff (windwalk)
actions display text: your text

hope it helped :) just tell me if the text is also your problem.
 
Status
Not open for further replies.
Back
Top