• 🏆 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!
  • 🏆 Hive's 6th HD Modeling Contest: Mechanical is now open! Design and model a mechanical creature, mechanized animal, a futuristic robotic being, or anything else your imagination can tinker with! 📅 Submissions close on June 30, 2024. Don't miss this opportunity to let your creativity shine! Enter now and show us your mechanical masterpiece! 🔗 Click here to enter!

[Trigger] Whats wrong with these triggers combined?

Status
Not open for further replies.
Level 12
Joined
Aug 18, 2006
Messages
1,193
  • Attacked
    • Events
    • Conditions
    • Actions
      • Remove Slow buff from (Triggering unit)
  • Set Event
    • Events
      • Map initialization
    • Conditions
    • Actions
      • Trigger - Add to Attacked <gen> the event (Unit - Attacked Takes damage)
  • Set Attacked
    • Events
      • Unit - A unit Starts the effect of an ability
    • Conditions
      • (Ability being cast) Equal to Slow
    • Actions
      • Set Attacked = (Target unit of ability being cast)
so, basicly, when Attacked is damaged, the Slowing of the Slow Spell should be removed, but when Attacked is damaged, he doesnt get the Slow removed

Note : This is just an example, but the real triggers use a Stun instead of a Slow, and I know there is Sleep, but the Attacked is supposed to take damage overtime(triggered) too
 

Rui

Rui

Level 41
Joined
Jan 7, 2005
Messages
7,550
This thread has been moved from the World Editor Help Zone to the Triggers (GUI) Forum. A redirection link has been left in the original forum to provide a conection between the original place and the new location of this thread. This redirection link will expire in 24 hours.
 
Level 15
Joined
Jan 31, 2007
Messages
502
The Event (Unit - Attacked Takes damage) will nor added like u want it because its an generic event which means that not the variable is stored. The unit only which means that the event has no unit in it ( Attacked has no value at the beginning ).
You can add each unit getting targeted by "Slow" in your trigger .
 
Status
Not open for further replies.
Top