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.
Untitled Trigger 001

Events


Unit - A unit Begins casting an ability

Conditions


(Ability being cast) Equal to Bloodlust

Actions


Set temp_loc[(Player number of (Owner of (Casting unit)))] = (Position of (Casting unit))


Unit Group - Pick every unit in (Units within 500.00 of (Position of (Triggering unit))) and do (Actions)



Loop - Actions




Set unit_group = (Last created unit group)




For each (Integer A) from 1 to (Number of units in unit_group), do (Actions)





Loop - Actions






Unit - Create 1 Shaman for Player 1 (Red) at temp_loc[(Player number of (Owner of (Casting unit)))] facing Default building facing degrees






Unit - Order (Last created unit) to Orc Shaman - Bloodlust (Picked unit)






Unit - Add a 1.00 second Generic expiration timer to (Last created unit)
Trigger

Events


Unit - A unit Starts the effect of an ability

Conditions


(Ability being cast) Equal to Bloodlust

Actions


Set point = (Target point of ability being cast)


Custom script: set bj_wantDestroyGroup = true


Unit Group - Pick every unit in Units within 500.00 of point matching (Owner of (Mathing Unit)) is an ally of (Owner of Triggering Unit)) Equal to true and do (Actions)



Loop - Actions




Set point = Position of (Picked unit)




Unit - Create 1 Dummy for Owner of (Triggering Unit) at point facing Default building facing degrees




Unit - Add Bloodlust to Last created unit




Unit - Order (Last created unit) to Orc Shaman - Bloodlust (Picked unit)




Unit - Add a 1.00 second Generic expiration timer to (Last created unit)




Custom script: call RemoveLocation(udg_point)


Custom script: call RemoveLocation(udg_point)
Trigger

Events


Unit - A unit Starts the effect of an ability

Conditions


(Ability being cast) Equal to SomeSpell

Actions


Set point = (Target point of ability being cast)


Custom script: set bj_wantDestroyGroup = true


Unit Group - Pick every unit in Units within 500.00 of point matching (((Owner of (Mathing Unit)) is an ally of (Triggering player) Equal to True) and ((Matching unit) is alive Eqaul to True) and ((Matching unit) is Building Not equal to True)) and do (Actions)



Loop - Actions




Set p = Position of (Picked unit)




Unit - Create 1 Dummy for (Triggering player) at point facing Default building facing degrees




Unit - Add Bloodlust to Last created unit




Unit - Order (Last created unit) to Orc Shaman - Bloodlust (Picked unit)




Unit - Add a 1.00 second Generic expiration timer to (Last created unit)




Custom script: call RemoveLocation(udg_p)


Custom script: call RemoveLocation(udg_point)
Unit Group - Pick every unit in (Units within 400.00 of point matching (((Owner of (Matching unit)) is an ally of (Owner of (Triggering unit))) Equal to True)) and do (Actions)

Loop - Actions


Set point = (Target point of ability being cast)


Unit - Create 1 Dummy for (Owner of (Triggering unit)) at point facing (Position of (Triggering unit))


Unit - Order (Last created unit) to Orc Shaman - Bloodlust (Picked unit)


Unit - Add a 1.00 second Generic expiration timer to (Last created unit)


Custom script: call RemoveLocation(udg_point)
