I made a Trigger that was Creating Zergling at an Building every X seconds. It worked like a charm, but I thought to make the units go at the rally point of the building, It worked again. BUT I'm getting a strange error:
Trigger Error in:
'gt_ZerglingSpawns_Func': Could not
get 'point' from parameter in
'Order Targeting Point'(value: 65535)
Here is my code:
Any suggestions on how to remove the Error Message?
I have also attached the map, It's an .rar since the site doesn't yet allow for the attachment of Sc2 maps.
Trigger Error in:
'gt_ZerglingSpawns_Func': Could not
get 'point' from parameter in
'Order Targeting Point'(value: 65535)
Here is my code:
-
Zergling Spawns
-
Events
-
Timer - Every 3.0 seconds of Game Time
-
-
Local Variables
-
Point = No Point <Point>
-
Unit Group = (Empty unit group) <Unit Group>
-
-
Conditions
-
Actions
-
Variable - Set Unit Group = (Command Center units in (Entire map) owned by player Any Player matching Excluded: Missile, Dead, with at most Any Amount)
-
Unit Group - Pick each unit in Unit Group and do (Actions)
-
Actions
-
Variable - Set Point = (Position of (Picked unit))
-
Unit - Create 1 Zergling for player (Owner of (Picked unit)) at Point using default facing (No Options)
-
Unit - Order (Last created unit) to ( Attack targeting (Unit Rally Point Target Point((Picked unit), 1, 1))) (Replace Existing Orders)
-
-
-
-
Any suggestions on how to remove the Error Message?
I have also attached the map, It's an .rar since the site doesn't yet allow for the attachment of Sc2 maps.