- Joined
- Nov 3, 2009
- Messages
- 687
Hey,
Firstly sorry for my epic bad English.
Secondly having problemos with my triggers. I want to make that when hero is under effect of buff he can't pick up item(in my map flag) and when holding a flag he cast a spell the flag is dropped. Everything seems to work, just not with text when u pick random item or just cast spell while not holding a flag TEXT STILL APPEARS.
HERE'S MY EPIC TRIGGERS:
Firstly sorry for my epic bad English.
Secondly having problemos with my triggers. I want to make that when hero is under effect of buff he can't pick up item(in my map flag) and when holding a flag he cast a spell the flag is dropped. Everything seems to work, just not with text when u pick random item or just cast spell while not holding a flag TEXT STILL APPEARS.
HERE'S MY EPIC TRIGGERS:
-
CTF unable to pick
-
Events
- Unit - A unit Acquires an item
-
Conditions
-
Or - Any (Conditions) are true
-
Conditions
- (Item-type of (Item being manipulated)) Equal to Forest Titans Flag
- (Item-type of (Item being manipulated)) Equal to Sky Titans Flag
-
Conditions
-
Or - Any (Conditions) are true
-
Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- ((Triggering unit) has buff Stealth ) Equal to True
- ((Triggering unit) has buff Divine Shield) Equal to True
- ((Triggering unit) has Flag_Alliance) Equal to True
-
Then - Actions
- Hero - Drop Flag_Alliance from (Triggering unit)
-
Else - Actions
- Hero - Drop Flag_Horde from (Triggering unit)
-
If - Conditions
- Game - Display to (Player group((Triggering player))) the text: |cffFF0000Unable to...
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
Events
-
CTF unable to cast
-
Events
- Unit - A unit Starts the effect of an ability
-
Conditions
- ((Ability being cast) Equal to Divine Shield [Paladin]) or ((Ability being cast) Equal to Stealth [Rogue])
-
Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- ((Triggering unit) has Flag_Alliance) Equal to True
-
Then - Actions
- Hero - Drop Flag_Alliance from (Triggering unit)
-
Else - Actions
- Hero - Drop Flag_Horde from (Triggering unit)
-
If - Conditions
- Game - Display to (Player group((Owner of (Triggering unit)))) the text: |cffFF0000Unable to...
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
Events