Quote
Theif Turret - Money
Events
Unit - Any Unit is attacked
Local Variables
tmpTag = No Text Tag <Text Tag>
Conditions
(Unit type of (Attacking Unit)) == Theif
Actions
General - Wait 0.5 Game Time seconds
Player - Modify player 1 Minerals: Add (Random integer between 0 and 5)
Text Tag - Create a text tag with the text "+1" for (All players), using a font size of 24, at (Position of (Triggering unit)) and height offset 1.0 (initially Visible) can also set whether false is enforced
Variable - Set tmpTag = (Last created text tag)
Text Tag - Set Text color(s) for tmpTag to (0%, 50%, 75%)
Text Tag - Set the velocity of tmpTag to 1.0 coordinates per second at an angle of 90.0 degrees from horizontal
Text Tag - Set Fade Duration time for (Last created text tag) to 2.0 seconds
General - Wait 2.1 Game Time seconds
Text Tag - Destroy tmpTag
Events
Unit - Any Unit is attacked
Local Variables
tmpTag = No Text Tag <Text Tag>
Conditions
(Unit type of (Attacking Unit)) == Theif
Actions
General - Wait 0.5 Game Time seconds
Player - Modify player 1 Minerals: Add (Random integer between 0 and 5)
Text Tag - Create a text tag with the text "+1" for (All players), using a font size of 24, at (Position of (Triggering unit)) and height offset 1.0 (initially Visible) can also set whether false is enforced
Variable - Set tmpTag = (Last created text tag)
Text Tag - Set Text color(s) for tmpTag to (0%, 50%, 75%)
Text Tag - Set the velocity of tmpTag to 1.0 coordinates per second at an angle of 90.0 degrees from horizontal
Text Tag - Set Fade Duration time for (Last created text tag) to 2.0 seconds
General - Wait 2.1 Game Time seconds
Text Tag - Destroy tmpTag
How do I change:
Text Tag - Create a text tag with the text "+1" for (All players), using a font size of 24, at (Position of (Triggering unit)) and height offset 1.0 (initially Visible) can also set whether false is enforced
so the +# is the outcome of the integer?
None.