speeder
Dec 13 2010, 12:20
This script should only spawn 4 US men, and does so when testing local.
But on dedi server, it spawns 8 men.
I thought I had taken care of that with the line: if (!isServer) exitWith {}; But what am I doing wrong?
Trigger:
[] exec "spawnW.sqs"
spawnW.sqs looks like this
if (!isServer) exitWith {};
_side1 = EAST;
_side2 = WEST;
_grp10 = [position wp3, _side2, (configFile >> "CfgGroups" >> "West" >> "USMC" >> "Infantry" >> "USMC_FireTeam")] call BIS_fnc_spawnGroup;
~2
_wp = _grp10 addWaypoint [position wp3, 0];
_wp setWaypointType "MOVE";
_wp setWaypointSpeed "FULL";
exit;
But on dedi server, it spawns 8 men.
I thought I had taken care of that with the line: if (!isServer) exitWith {}; But what am I doing wrong?
Trigger:
[] exec "spawnW.sqs"
spawnW.sqs looks like this
if (!isServer) exitWith {};
_side1 = EAST;
_side2 = WEST;
_grp10 = [position wp3, _side2, (configFile >> "CfgGroups" >> "West" >> "USMC" >> "Infantry" >> "USMC_FireTeam")] call BIS_fnc_spawnGroup;
~2
_wp = _grp10 addWaypoint [position wp3, 0];
_wp setWaypointType "MOVE";
_wp setWaypointSpeed "FULL";
exit;