If the unit is pre-set, you can add those units via Pick Unit Group action and add (Picked unit) Takes damage event at Map Initialization.NOTICE!: the unit HAS to enter playable map area, otherwise the trigger cannot catch the unit
Trigger 1
Events
Unit - A unit enters (Playable map area)
Conditions
Actions
Trigger - Add to Trigger 2 <gen> the event (Einheit - (Triggering unit) takes damage)
Trigger 2
Events
Conditions
(Damage taken) unequal to 0.00
Actions
Trigger - Turn off (This trigger)
Floating Text - Create floating text that reads (String((Damage taken))) above (Triggering unit) with Z offset 0.00, using font size 10.00, color (80.00%, 80.00%, 5.00%), and 0.00% transparency
Floating Text - Show (Last created floating text) for (All players)
Floating Text - Set the velocity of (Last created floating text) to 65.00 towards 65.00 degrees
Floating Text - Change (Last created floating text): Deactivate permanence
Floating Text - Change the lifespan of (Last created floating text) to 1.25 seconds
Trigger - Turn on (This trigger)
NOTICE!: the unit HAS to enter playable map area, otherwise the trigger cannot catch the unit
Saying thing and showing prove are 2 different things.I did exactly like that, but the text won't come out
I did exactly like that, but the text won't come out
GIMLI_2 said:NOTICE!: the unit HAS to enter playable map area, otherwise the trigger cannot catch the unit
Time to show how to counter this;NOTICE!: the unit HAS to enter playable map area, otherwise the trigger cannot catch the unit