Unit - Create 1 Zergling for player 9 at (Random point in Region 001) facing 270.0 degrees (Ignore Placement)
Unit - Order (Last created unit to ( Attack targeting (Closest unit to (Position of (Triggering unit)) in (Marine units in Region 001 owned be player Any Player matching No Unit Filter, with at most Any Amount))) (Replace Existing Orders)
It spawns the zergling which attacks the marine on the map. But, i receive this error:
Trigger Error in 'gt_Spawn1_func':
Event response function EventUnit has no matching event.
Event - 5 seconds have elapsed
Action -
Unit - Create 1 Zergling for player 9 at (Random point in Region 001) facing 270.0 degrees (Ignore Placement)
Unit - Order (Last created unit to ( Attack targeting (Closest unit to (Position of (Triggering unit)) in (Marine units in Region 001 owned be player Any Player matching No Unit Filter, with at most Any Amount))) (Replace Existing Orders)
It spawns the zergling which attacks the marine on the map. But, i receive this error:
Trigger Error in 'gt_Spawn1_func': Event response function EventUnit has no matching event.
(Position of (Triggering unit)) is the problem - you dont have a triggering unit. Use last created unit.