I tried to make a trigger, in which the summoned unit follows the summoner and attacks nearby enemies.
This is what I came up with (I know the Points are leaking , I will fix this when I got the trigger to work)
Cheers.
This is what I came up with (I know the Points are leaking , I will fix this when I got the trigger to work)
-
Untitled Trigger 001
-

Events
-


Unit - A unit Spawns a summoned unit
-
-

Conditions
-


(Unit-type of (Summoned unit)) Equal to Wolf Pub
-
-

Actions
-


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



Loop - Actions
-




Set VariableSet Summon_Location = (Position of (Summoning unit))
-




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





If - Conditions
-






(Distance between Summon_Location and (Position of (Summoned unit))) Greater than or equal to 300.00
-
-





Then - Actions
-






Unit - Order (Summoned unit) to Follow (Summoning unit)
-
-





Else - Actions
-






Unit - Order (Summoned unit) to Attack-Move To (Summon_Location offset by (150.00, 150.00))
-
-
-




Custom script: call RemoveLocation(udg_Summon_Location)
-
-
-
-
Cheers.
Last edited:




