- Joined
- Dec 2, 2016
- Messages
- 733
So this trigger, when the ability is casted. It teleports the unit to the center of the map. But the text that is created above their unit showing "Recall 5..4..3..2..1" sometimes bugs and stays there and doesn't remove itself. Is there anything you guys can see that would cause that issue?
Also Triggers run locally right? Because it's possible two players would use this ability at the same time.
Also Triggers run locally right? Because it's possible two players would use this ability at the same time.
-
Vampire Recall
-
Events
-
Unit - A unit Starts the effect of an ability
-
-
Conditions
-
(Ability being cast) Equal to Vampiric Recall
-
-
Actions
-
Special Effect - Create a special effect attached to the overhead of (Triggering unit) using Abilities\Spells\Human\MassTeleport\MassTeleportCaster.mdl
-
Set TempEffect = (Last created special effect)
-
Floating Text - Create floating text that reads Vampire Recall: at (Position of (Triggering unit)) with Z offset 5.00, using font size 10.00, color (100.00%, 100.00%, 100.00%), and 0.00% transparency
-
Floating Text - Show TempText for (All players)
-
Set TempText = (Last created floating text)
-
For each (Integer A) from 1 to 5, do (Actions)
-
Loop - Actions
-
Unit - Pause (Triggering unit)
-
Floating Text - Change text of TempText to (Vampire Recall: + (String((Integer A)))) using font size 10.00
-
Floating Text - Change the position of TempText to (Triggering unit) with Z offset 10.00
-
Wait 1.00 seconds
-
-
-
Unit - Move (Triggering unit) instantly to (Center of spawnVampires <gen>)
-
Unit - Unpause (Triggering unit)
-
Floating Text - Destroy TempText
-
Special Effect - Destroy TempEffect
-
-