I really wouldn't use Emerald, try
SCF and download X-Tra Editor 2.5 or 2.6, much better.
Also i would work it this way.
Trigger For:
Player 1.
Conditions:
Player 1 brings 1 men to 'marine.'
Switch 'One' is set.
Actions:
Clear 'Switch One.'
Remove all men for Player 1 at 'marine.'
Create 1 marine for Player 1 at 'marine.'
Wait 5000 Milliseconds
Set Switch One
Preserve trigger.
That saves on triggers, and so works. Also try replacing Switches with this.
Condition:
Replace Switch One is Set With;
Deaths For Player 1 (Mineral Patches 1) is 1
Action:
Replace Switches With Player 1 (Mineral Patches 1) and Set to 0
The Other Actions
Wait SO AND SO...
Replace Switches With Player 1 (Mineral Patches 1) and Set to 1
- Coko