Jo.O
Bored...
- Reaction score
- 70
I'm using this trigger to display a Floating Text.
And my question: What custom script should I add to set the Temp_FloatText to null?
Code:
Unit Ability Text
Events
Unit - A unit Starts the effect of an ability
Conditions
((Triggering unit) is A Hero) Equal to True
Actions
Floating Text - Create floating text that reads ((Name of (Ability being cast)) + !) above (Triggering unit) with Z offset 8.00, using font size 8.00, color (50.00%, 50.00%, 100.00%), and 0.00% transparency
Floating Text - Set the velocity of (Last created floating text) to 64.00 towards 90.00 degrees
Set Temp_FloatText = (Last created floating text)
Wait 1.50 seconds
Floating Text - Destroy Temp_FloatText
And my question: What custom script should I add to set the Temp_FloatText to null?