Jump to content
Sign in to follow this  
infiltrator_2k

Spawning Vehicles To Follow Waypoint Seek and Destroy

Recommended Posts

I've spent some time now trying to get this to work but with no success. Basically I've triggered spawned this vehicle but I can't get it to 'seek and destroy, it just sits there at waypoint wp3. Do anyone know what I've done wrong and what I need to do to get the vehicle to do the seeking and destroying?

Help much appreciated guys because I've been trying to sort this for several hours now :/ But the silver lining is I'm learning :)


_tankcrew = [];
_tankframe = [];


if (isServer) then {

_tankcrew = creategroup EAST; 
_tankframe = [getMarkerPos "tankstart", 180, "O_MBT_02_cannon_F", _tankcrew] call BIS_fnc_spawnVehicle;

_wp1 = _tankcrew addWaypoint [(getmarkerpos "wp2"), 0];
_wp1 setWaypointType "MOVE";
_wp1 setWaypointSpeed "NORMAL";
_wp1 setWaypointBehaviour "STEALTH";


_wp2 = _tankcrew addWaypoint [(getmarkerpos "wp3"), 0];
_wp2 setWaypointType "MOVE";
_wp2 setWaypointSpeed "FULL";
_wp2 setWaypointBehaviour "STEALTH";


_wp3 = _tankcrew addWaypoint [(getmarkerpos "WP3"), 0];
_wp3 setWaypointType "SEEK AND DESTROY";
_wp3 setWaypointSpeed "FULL";
_wp3 setWaypointBehaviour "COMBAT";


};

Share this post


Link to post
Share on other sites

Hi mate,

You need to change this:

_wp3 setWaypointType "SEEK AND DESTROY";

To this:

_wp3 setWaypointType "SAD";

:)

Share this post


Link to post
Share on other sites
Hi mate,

You need to change this:

_wp3 setWaypointType "SEEK AND DESTROY";

To this:

_wp3 setWaypointType "SAD";

:)

Cheers Das much appreciated ;)

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×