Ive made this quit simple spawn script works nice but it haves one bad thing , when the sqs is activated the game frezze for a few sec when the prosessor creates the 11 man unit on the map at the marker and Officer of the group -
My question is - is there a way to make it more smooth so the game does not frezze when spawning ?
------------------------------------------------------------------------------------
Capt Ryans WWII Adventures German Wehermacht Unit spawn script
------------------------------------------------------------------------------------
"WH_Schutze6" createunit [getmarkerpos "spawnspot", spawnspotgroup, "WH_Schutze6 = this",0.9,"Corporal"];
"WH_LMGunner" createunit [getmarkerpos "spawnspot", spawnspotgroup, "WH_Schutze6 = this",0.9,"Private"];
"WH_LMAmmo" createunit [getmarkerpos "spawnspot", spawnspotgroup, "WH_Schutze6 = this",0.9,"Private"];
"WH_Radop2" createunit [getmarkerpos "spawnspot", spawnspotgroup, "WH_Schutze6 = this",0.9,"Private"];
"WH_Medic" createunit [getmarkerpos "spawnspot", spawnspotgroup, "WH_Schutze6 = this",0.9,"Private"];
"WH_SchutzeG1" createunit [getmarkerpos "spawnspot", spawnspotgroup, "WH_Schutze6 = this",0.9,"Private"];
"WH_Schutze6" createunit [getmarkerpos "spawnspot", spawnspotgroup, "WH_Schutze6 = this",0.9,"Private"];
"WH_Schutze6" createunit [getmarkerpos "spawnspot", spawnspotgroup, "WH_Schutze6 = this",0.9,"Private"];
"WH_Schutze6" createunit [getmarkerpos "spawnspot", spawnspotgroup, "WH_Schutze6 = this",0.9,"Private"];
"WH_SQDLDR3" createunit [getmarkerpos "spawnspot", spawnspotgroup, "WH_Schutze6 = this",0.9,"Private"];
"WH_SQDLDR3" createunit [getmarkerpos "spawnspot", spawnspotgroup, "WH_Schutze6 = this",0.9,"Private"];
#exit
exit
------------------------------------------------------------------------------
I know its a simple script but it works ;o) if there is a better way please tell me .
Ryan