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

[Solved] Mark Triggers problem

Status
Not open for further replies.
Level 10
Joined
Nov 24, 2010
Messages
546
  • Mark
    • Events
      • Unit - A unit Begins casting an ability
    • Conditions
      • (Ability being cast) Equal to Mark
    • Actions
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • ((Target unit of ability being cast) is A Hero) Not equal to True
        • Then - Actions
          • Special Effect - Destroy Mark_Effect[2]
          • Unit - Order (Casting unit) to Stop
          • Set Mark_Target[2] = (Target unit of ability being cast)
          • Game - Display to (All players) the text: ((Name of (Owner of (Casting unit))) + ( has marked: + (Name of Mark_Target[2])))
          • Special Effect - Create a special effect attached to the overhead of Mark_Target[2] using Objects\RandomObject\RandomObject.mdl
          • Set Mark_Effect[2] = (Last created special effect)
        • Else - Actions
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • ((Target unit of ability being cast) is A Hero) Equal to True
        • Then - Actions
          • Special Effect - Destroy Mark_Effect[1]
          • Unit - Order (Casting unit) to Stop
          • Set Mark_Target[1] = (Target unit of ability being cast)
          • Game - Display to (All players) the text: ((Name of (Owner of (Casting unit))) + ( has marked: + (Name of (Owner of Mark_Target[1]))))
          • Special Effect - Create a special effect attached to the overhead of Mark_Target[1] using Abilities\Spells\Other\TalkToMe\TalkToMe.mdl
          • Set Mark_Effect[1] = (Last created special effect)
        • Else - Actions

This system is supposted to create special effect on unit matching condition, it somehow don't work.
If there are any bugg what i don't see, maybe something to improve tell me please.
Well i cast ability and it do not create special effect on unit.

Palooo3
 
Status
Not open for further replies.
Top