-
Events
-
Time - Every (Random real number between 15.00 and 25.00) seconds of game time
-
-
Conditions
-
Actions
-
For each (Integer A) from 1 to 10, do (Actions)
-
Loop - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
(Current order of BlackSoulRefs[(Integer A)]) Equal to (Order(attack))
-
-
Then - Actions
-
Set BlackSoulTarget[(Integer A)] = (Random unit from (Units within 900.00 of (Position of BlackSoulRefs[(Integer A)]) matching (((Matching unit) belongs to an enemy of (Owner of BlackSoulRefs[(Integer A)])) Equal to True)))
-
Special Effect - Create a special effect at (Position of BlackSoulRefs[(Integer A)]) using Abilities\Spells\Human\MassTeleport\MassTeleportCaster.mdl
-
Unit - Move BlackSoulRefs[(Integer A)] instantly to (Position of BlackSoulTarget[(Integer A)]), facing (Position of BlackSoulTarget[(Integer A)])
-
Special Effect - Create a special effect at (Position of BlackSoulRefs[(Integer A)]) using Abilities\Spells\Human\MassTeleport\MassTeleportTarget.mdl
-
Unit - Order BlackSoulRefs[(Integer A)] to Attack BlackSoulTarget[(Integer A)]
-
-
Else - Actions
-
-
-
-
DemonRefsInit
-
Events
-
Map initialization
-
Conditions
-
Actions
-
Unit Group - Pick every unit in (Units of type Black Soul) and do (Actions)
-
Loop - Actions
-
Set BlackSoulCount = (BlackSoulCount + 1)
-
Set BlackSoulRefs[BlackSoulCount] = (Picked unit)
-
-
-
-
-
Events
-
Unit - A unit enters (Entire map)
-
Conditions
-
(Unit-type of (Triggering unit)) Equal to Black Soul
-
-
Actions
-
Set BlackSoulCount = (BlackSoulCount + 1)
-
For each (Integer A) from 1 to 10, do (Actions)
-
Loop - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
BlackSoulRefs[(Integer A)] Equal to No unit
-
-
Then - Actions
-
Set BlackSoulRefs[(Integer A)] = (Triggering unit)
-
Skip remaining actions
-
-
Else - Actions
-
-
-
-
-
Last edited: