Deg
May 18 2011, 03:10
Hi all im having a little trouble with my script im trying to delete this group after it reaches the second waypoint and im not quit sure how to add in deleteVehicle do i need to use setWaypointStatements? ive been searching around but still cant figure it out.
grp = [getMarkerPos "Spawn1",side player, (configFile >> "CfgGroups" >> "West" >> "USMC" >> "Infantry" >> "USMC_InfSquad")] call BIS_fnc_spawnGroup;
wp = grp addwaypoint [getMarkerPos "s1",0];
wp setWaypointType "SAD";
wp setWaypointCombatMode "RED";
wp setWaypointSpeed "FULL";
wp setWaypointBehaviour "AWARE";
wp1 = grp addwaypoint [getMarkerPos "s2",0];
wp1 setWaypointType "MOVE";
wp1 setWaypointCombatMode "RED";
wp1 setWaypointSpeed "FULL";
wp1 setWaypointBehaviour "AWARE"; Any help will be appreciated, thanks in advanced :)
Deg
grp = [getMarkerPos "Spawn1",side player, (configFile >> "CfgGroups" >> "West" >> "USMC" >> "Infantry" >> "USMC_InfSquad")] call BIS_fnc_spawnGroup;
wp = grp addwaypoint [getMarkerPos "s1",0];
wp setWaypointType "SAD";
wp setWaypointCombatMode "RED";
wp setWaypointSpeed "FULL";
wp setWaypointBehaviour "AWARE";
wp1 = grp addwaypoint [getMarkerPos "s2",0];
wp1 setWaypointType "MOVE";
wp1 setWaypointCombatMode "RED";
wp1 setWaypointSpeed "FULL";
wp1 setWaypointBehaviour "AWARE"; Any help will be appreciated, thanks in advanced :)
Deg