- Joined
- Jun 12, 2007
- Messages
- 1,261
I see to have forgotten how I did this in the past.
It's most likely my event.
It's most likely my event.
-
Cleric
-
Events
- Unit - A unit Is issued an order targeting an object
- Conditions
-
Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- (Unit-type of (Targeted unit)) Equal to Cleric George
-
Then - Actions
- Set TalkTargetPoint[(Player number of (Owner of (Triggering unit)))] = (Position of (Targeted unit))
- Floating Text - Create floating text that reads (PlayerColor[7] + Let me heal your wounds.) at TalkTargetPoint[(Player number of (Owner of (Triggering unit)))] with Z offset 0.00, using font size 8.00, color (100.00%, 100.00%, 100.00%), and 0.00% transparency
- Floating Text - Change (Last created floating text): Disable permanence
- Floating Text - Change the lifespan of (Last created floating text) to 5.00 seconds
- Floating Text - Change the fading age of (Last created floating text) to 3.00 seconds
- Floating Text - Set the velocity of (Last created floating text) to 15.00 towards (Random real number between 50.00 and 90.00) degrees
- Special Effect - Create a special effect at TalkTargetPoint[(Player number of (Owner of (Triggering unit)))] using Abilities\Spells\Items\AIma\AImaTarget.mdl
- Special Effect - Destroy (Last created special effect)
- Custom script: call RemoveLocation(udg_TalkTargetPoint[GetConvertedPlayerId(GetOwningPlayer(GetTriggerUnit()))])
- Unit - Set life of (Triggering unit) to 100.00%
- Unit - Set mana of (Triggering unit) to 100.00%
- Else - Actions
-
If - Conditions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
Events