- Joined
- Sep 6, 2012
- Messages
- 88
Hi guys !
I'm currently having a problem that I don't know why it doesn't work. The trigger is like this
-If a player right-click on a "Glyph Lv 1 Fire" unit, then the Glyph unit will follow the player unit.
-Then an ability called "Holding Crystal" is added to the Glyph unit and it casts on the player unit to mark that the player unit is the current owner of the Glyph, so next time this player right-click on the Glyph, the actions don't run again.
-Holding Crystal is an ability based on the Night Elf Wisp's Restore ability by the way, and it is attached to a buff with the same name, "Holding Crystal".
The problem I got was that the ability never seems to be casted, thus making the trigger runs again and again when the same player spams right-click on the Glyph, which causes several problems for my gameplay.
So that's my situation, can anyone help me figure out what's the problem with my trigger and how to fix it ? Thank you very much !
I'm currently having a problem that I don't know why it doesn't work. The trigger is like this
- Events
- Unit - A unit Is issued an order targeting an object
- Conditions
- ((Triggering unit) has buff Holding Crystal ) Equal to False
- (Unit-type of (Target unit of issued order)) Equal to Glyph Lv 1 Fire
- (Issued order) Equal to (Order(smart))
- Actions
- Unit - Order (Target unit of issued order) to Follow (Triggering unit)
- Unit - Add Holding Crystal to (Target unit of issued order)
- Unit - Order (Target unit of issued order) to Night Elf Wisp - Restore (Triggering unit)
-If a player right-click on a "Glyph Lv 1 Fire" unit, then the Glyph unit will follow the player unit.
-Then an ability called "Holding Crystal" is added to the Glyph unit and it casts on the player unit to mark that the player unit is the current owner of the Glyph, so next time this player right-click on the Glyph, the actions don't run again.
-Holding Crystal is an ability based on the Night Elf Wisp's Restore ability by the way, and it is attached to a buff with the same name, "Holding Crystal".
The problem I got was that the ability never seems to be casted, thus making the trigger runs again and again when the same player spams right-click on the Glyph, which causes several problems for my gameplay.
So that's my situation, can anyone help me figure out what's the problem with my trigger and how to fix it ? Thank you very much !