Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
Summon Monsters Cancel

Events


Unit - A unit Begins casting an ability

Conditions


Or - Any (Conditions) are true



Conditions




(Ability being cast) Equal to Summon Monster 1




(Ability being cast) Equal to Summon Monster 2




(Ability being cast) Equal to Summon Monster 3




(Ability being cast) Equal to Summon Monster 4




(Ability being cast) Equal to Summon Monster 5




(Ability being cast) Equal to Summon Monster 6

Actions


Set VariableSet PN = (Player number of (Triggering player))


Trigger - Run Set Monsters Outside Ball <gen> (ignoring conditions)


-------- --------


-------- Check if you're in a Gym --------


If (All Conditions are True) then do (Then Actions) else do (Else Actions)



If - Conditions




InAGym[PN] Equal to True




MonsterOutsideBall[PN] Equal to 1



Then - Actions




Custom script: call RemoveLocation(udg_TempPoint)




Set VariableSet PGroup = (Player group((Triggering player)))




Game - Display to PGroup for 15.00 seconds the text: You can only use 1 ...




Custom script: call DestroyForce(udg_PGroup)




Unit - Order (Triggering unit) to Stop.




Wait 0.00 seconds




Animation - Reset (Triggering unit)'s animation



Else - Actions




-------- Check if you can Summon at the Target Point of Ability Being Cast --------




Set VariableSet TempPoint = (Target point of ability being cast)




If (All Conditions are True) then do (Then Actions) else do (Else Actions)





If - Conditions






Or - Any (Conditions) are true







Conditions








(Terrain pathing at TempPoint of type Walkability is off) Equal to True








(INDOORS <gen> contains TempPoint) Equal to True





Then - Actions






Custom script: call RemoveLocation(udg_TempPoint)






Set VariableSet PGroup = (Player group((Triggering player)))






Game - Display to PGroup for 15.00 seconds the text: You can't summon th...






Custom script: call DestroyForce(udg_PGroup)






Unit - Order (Triggering unit) to Stop.






Wait 0.00 seconds






Animation - Reset (Triggering unit)'s animation





Else - Actions






Custom script: call RemoveLocation(udg_TempPoint)






-------- --------






-------- Try to Summon --------






If (All Conditions are True) then do (Then Actions) else do (Else Actions)







If - Conditions








MonsterOutsideBall[PN] Less than 3







Then - Actions








For each (Integer A) from 1 to 6, do (Actions)









Loop - Actions










If (All Conditions are True) then do (Then Actions) else do (Else Actions)











If - Conditions












(Ability being cast) Equal to Monster_Summon_Abilities[(Integer A)]











Then - Actions












Set VariableSet TempUnit = (Load (Integer A) of PN in Monster_Hashtable.)












If (All Conditions are True) then do (Then Actions) else do (Else Actions)













If - Conditions














(Player_Region[PN] contains TempUnit) Equal to True














(TempUnit is alive) Equal to True













Then - Actions













Else - Actions














Set VariableSet PGroup = (Player group((Triggering player)))














Game - Display to PGroup for 15.00 seconds the text: You can't summon th...














Custom script: call DestroyForce(udg_PGroup)














Unit - Order (Triggering unit) to Stop.














Wait 0.00 seconds














Animation - Reset (Triggering unit)'s animation











Else - Actions







Else - Actions








Set VariableSet PGroup = (Player group((Triggering player)))








Game - Display to PGroup for 15.00 seconds the text: You can only summon...








Custom script: call DestroyForce(udg_PGroup)








Unit - Order (Triggering unit) to Stop.








Wait 0.00 seconds








Animation - Reset (Triggering unit)'s animation
Healing and Reviving

Events


Unit - A unit Acquires an item

Conditions


(Item-type of (Item being manipulated)) Equal to Heal Monsters

Actions


Set VariableSet PNRES = (Player number of (Owner of (Hero manipulating item)))


-------- --------


Set VariableSet TempPoint = (Position of (Hero manipulating item))


Special Effect - Create a special effect at TempPoint using Abilities\Spells\NightElf\MoonWell\MoonWellCasterArt.mdl


Custom script: call RemoveLocation(udg_TempPoint)


Set VariableSet Delayed_Duration = 2.00


Trigger - Run Delayed Destroy Effect <gen> (ignoring conditions)


-------- --------


Set VariableSet MonsterOutsideBall[PNRES] = 0


Unit Group - Pick every unit in Player_MonsterGroup[PNRES] and do (Actions)



Loop - Actions




If (All Conditions are True) then do (Then Actions) else do (Else Actions)





If - Conditions






(Number of units in (Units in Player_Region[PNRES])) Less than 6





Then - Actions






Set VariableSet TempPoint = (Random point in Player_Region[PNRES])





Else - Actions






Set VariableSet TempPoint = (Random point in Player_RegionPC[PNRES])




If (All Conditions are True) then do (Then Actions) else do (Else Actions)





If - Conditions






((Picked unit) is dead) Equal to True





Then - Actions






Hero - Instantly revive (Picked unit) at TempPoint, Hide revival graphics






Unit - Set life of (Picked unit) to 100.00%






Unit - Set mana of (Picked unit) to 100.00%





Else - Actions






Unit - Set life of (Picked unit) to 100.00%






Unit - Set mana of (Picked unit) to 100.00%






Unit - Move (Picked unit) instantly to TempPoint




Custom script: call RemoveLocation(udg_TempPoint)
Center Pokes In 2

Events


Unit - A unit enters CenterIn Copy <gen>

Conditions


Or - Any (Conditions) are true



Conditions




(Unit-type of (Entering unit)) Equal to Tamer




(Unit-type of (Entering unit)) Equal to Tamer Female


(Owner of (Entering unit)) Not equal to Neutral Hostile

Actions


Set VariableSet TempPoint = (Center of CenterInside Copy <gen>)


Unit - Move (Entering unit) instantly to TempPoint


Camera - Pan camera for (Owner of (Triggering unit)) to TempPoint over 0.00 seconds


Custom script: call RemoveLocation(udg_TempPoint)


-------- --------


Set VariableSet PNTP = (Player number of (Owner of (Entering unit)))


Unit Group - Pick every unit in Player_MonsterGroup[PNTP] and do (Actions)



Loop - Actions




If (All Conditions are True) then do (Then Actions) else do (Else Actions)





If - Conditions






(Player_Region[PNTP] contains (Picked unit)) Equal to False






(Player_RegionPC[PNTP] contains (Picked unit)) Equal to False






((Picked unit) is alive) Equal to True





Then - Actions






Set VariableSet TempPoint = (Position of (Picked unit))






Special Effect - Create a special effect at TempPoint using Abilities\Spells\Orc\FeralSpirit\feralspirittarget.mdl






Custom script: call RemoveLocation(udg_TempPoint)






Set VariableSet Delayed_Duration = 2.00






Trigger - Run Delayed Destroy Effect <gen> (ignoring conditions)






-------- --------






Set VariableSet TempPoint = (Random point in Player_Region[PNTP])






Unit - Move (Picked unit) instantly to TempPoint






Custom script: call RemoveLocation(udg_TempPoint)





Else - Actions


Set VariableSet MonsterOutsideBall[PNTP] = 0
