basically the tirgger is initially off, i then turn it on in another trigger, but the Actual spawning or unburrowing dosent work any help would be apprechiated.
Starting Lings
Events
Game - Map initialization
Local Variables
Conditions
Actions
General - Repeat (Actions) 20 times
Actions
Unit - Create (Random integer between 1 and 3) Zergling (Burrowed) for player 15 at (Random point in Spawn zlings) using default facing (No Options)
Unit - Order (Last created unit) to (Zergling - Unburrow) (After Existing Orders)
General - Wait 0.25 Game Time seconds
Unit - Order (Last created unit) to ( Attack targeting (Unit attached to Spawn zlings)) (Replace Existing Orders)
General - Wait (Random real between 0.5 and 2.75) Game Time seconds
Turning a trigger on doesn't execute it. You need to use "Run Trigger" if you want to start it from another trigger. Remove the event if you only want to start the trigger by running it.
Alternatively you could use an action definition instead of a trigger. It works the same way but instead of using "Run Trigger" action, you just choose the custom action from the action list.
The unburrowing stuff looks like it should work, so the problem is probably how you execute the trigger.
basically the tirgger is initially off, i then turn it on in another trigger, but the Actual spawning or unburrowing dosent work any help would be apprechiated.
Starting Lings
Events
Game - Map initialization
Local Variables
Conditions
Actions
General - Repeat (Actions) 20 times
Actions
Unit - Create (Random integer between 1 and 3) Zergling (Burrowed) for player 15 at (Random point in Spawn zlings) using default facing (No Options)
Unit - Order (Last created unit) to (Zergling - Unburrow) (After Existing Orders)
General - Wait 0.25 Game Time seconds
Unit - Order (Last created unit) to ( Attack targeting (Unit attached to Spawn zlings)) (Replace Existing Orders)
General - Wait (Random real between 0.5 and 2.75) Game Time seconds
Turning a trigger on doesn't execute it. You need to use "Run Trigger" if you want to start it from another trigger. Remove the event if you only want to start the trigger by running it.
Alternatively you could use an action definition instead of a trigger. It works the same way but instead of using "Run Trigger" action, you just choose the custom action from the action list.
The unburrowing stuff looks like it should work, so the problem is probably how you execute the trigger.