Anyhow, nice to see some JASSers around here that still take the time to create stuff for GUI users.
Only one thing came to mind when trying to read through the first post:
"MY GOD AM I GLAD TO BE RID OF GUI"
Spellname Show
Events
Unit - A unit Starts the effect of an ability
Conditions
(Unit-type of (Triggering unit)) Not equal to Wisp
Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
CustomValue Less than 500
Then - Actions
Set CustomValue = (CustomValue + 1)
Else - Actions
Set CustomValue = 1
Set Caster[CustomValue] = (Triggering unit)
Floating Text - Create floating text that reads (Name of (Ability being cast)) above Caster[CustomValue] with Z offset 0.00, using font size 7.00, color (50.00%, 100.00%, 50.00%), and 0.00% transparency
Set Floating_Text[CustomValue] = (Last created floating text)
Floating Text - Change Floating_Text[CustomValue]: Disable permanence
Floating Text - Set the velocity of Floating_Text[CustomValue] to 64.00 towards 90.00 degrees
Floating Text - Change the lifespan of Floating_Text[CustomValue] to 2.50 seconds
Floating Text - Change the fading age of Floating_Text[CustomValue] to 2.00 seconds
Good thing to know, you learn something new everyday eh?
Untitled Trigger 001
Events
Unit - A unit Begins casting an ability
Conditions
(Ability being cast) Equal to Build Tiny Farm
(Unit-type of (Triggering unit)) Equal to Footman
Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
CustomValue Less than 1000
Then - Actions
Set CustomValue = (CustomValue + 1)
Else - Actions
Set CustomValue = 1
Set TEMP_Unit[CustomValue] = (Triggering unit)
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Life of TEMP_Unit[CustomValue]) Greater than or equal to 100.00
(Ability being cast) Equal to Build Tiny Farm
Then - Actions
Set TEMP_Point = (Position of TEMP_Unit[CustomValue])
Unit - Set life of TEMP_Unit[CustomValue] to ((Life of TEMP_Unit[CustomValue]) - 100.00)
Special Effect - Create a special effect at TEMP_Point using Objects\Spawnmodels\Human\HumanBlood\BloodElfSpellThiefBlood.mdl
Special Effect - Destroy (Last created special effect)
Custom script: call RemoveLocation (udg_TEMP_Point)
Else - Actions
Unit - Order (Triggering unit) to Stop
Sound - Play Error <gen>
Untitled Trigger 002
Events
Unit - A unit Cancels construction
Conditions
(Unit-type of (Triggering unit)) Equal to Farm
Actions
Unit - Set life of TEMP_Unit[CustomValue] to ((Life of TEMP_Unit[CustomValue]) + 100.00)
Unit - Set life of TEMP_Unit[CustomValue] to ((Life of TEMP_Unit[CustomValue]) + 100.00)
~another bump~
Hmmm, noone wants to make MUI spells in GUI?