Here's mine from a boss from a map I made.
Not all of the code though, of course. It wouldn't be worth fitting one post.
Trigger:
kotgSpecial
Events
Time - Every 5.00 seconds of game time
Conditions
GameON Equal to True
(Keeper of the Grove 0024 <gen> has buff Stunned (Pause)) Equal to False
Actions
Set randomInteger = (Random integer number between 1 and 100)
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
randomInteger Less than or equal to 20
Then - Actions
Floating Text - Create floating text that reads Entangling Roots above Keeper of the Grove 0024 <gen> with Z offset 0.00, using font size 10.00, color (5.00%, 100.00%, 5.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 2.00 seconds
Unit - Make Keeper of the Grove 0024 <gen> face (Position of UnitTarget) over 0.00 seconds
Unit - Create 1 Dummy Unit (Nature) for Player 12 (Brown) at (Position of Keeper of the Grove 0024 <gen>) facing Default building facing degrees
Unit - Add a 3.00 second Generic expiration timer to (Last created unit)
Unit - Turn collision for (Last created unit) Off
Unit - Move (Last created unit) instantly to (Position of Keeper of the Grove 0024 <gen>)
Unit - Order (Last created unit) to Night Elf Keeper Of The Grove - Entangling Roots UnitTarget
Animation - Play Keeper of the Grove 0024 <gen>'s attack animation
Else - Actions
Do nothing
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
randomInteger Greater than or equal to 21
randomInteger Less than or equal to 46
Then - Actions
Set randomReal = (Random real number between 0.00 and 360.00)
Special Effect - Create a special effect at ((Position of Keeper of the Grove 0024 <gen>) offset by 200.00 towards randomReal degrees) using Abilities\Spells\Orc\FeralSpirit\feralspirittarget.mdl
Special Effect - Destroy (Last created special effect)
Set TempPoint = (Position of Keeper of the Grove 0024 <gen>)
For each (Integer A) from 1 to 3, do (Actions)
Loop - Actions
Unit - Create 1 Treant for Player 12 (Brown) at (TempPoint offset by 200.00 towards randomReal degrees) facing Default building facing degrees
Unit - Order (Last created unit) to Attack UnitTarget
Custom script: call RemoveLocation(udg_TempPoint)
Floating Text - Create floating text that reads Force of Nature above Keeper of the Grove 0024 <gen> with Z offset 0.00, using font size 10.00, color (5.00%, 100.00%, 5.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 2.00 seconds
Else - Actions
Do nothing
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
randomInteger Greater than or equal to 47
randomInteger Less than or equal to 50
Then - Actions
Set randomReal = (Random real number between 0.00 and 360.00)
Set TempPoint = (Position of Keeper of the Grove 0024 <gen>)
Unit - Create 1 Ancient Protector for Player 12 (Brown) at (TempPoint offset by 200.00 towards randomReal degrees) facing Default building facing degrees
Unit - Order (Last created unit) to Attack UnitTarget
Special Effect - Create a special effect at TempPoint using Abilities\Spells\Orc\FeralSpirit\feralspirittarget.mdl
Special Effect - Destroy (Last created special effect)
Custom script: call RemoveLocation(udg_TempPoint)
Floating Text - Create floating text that reads Summon Ancient Prot... above Keeper of the Grove 0024 <gen> with Z offset 0.00, using font size 10.00, color (5.00%, 100.00%, 5.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 2.00 seconds
Else - Actions
Do nothing
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
randomInteger Greater than or equal to 51
randomInteger Less than or equal to 87
Then - Actions
Unit - Order Keeper of the Grove 0024 <gen> to Move To (Random point in Level 01 Boundary AI <gen>)
Ghan has said he has fixed this. Monovertex please confirm this fix. This was only a problem with people that had signatures in the upper levels like not the special members but the respected members.