Hi everybody,
I'm trying to spawn a vehicle with crew via script and add one or more waypoionts to it.
eerything works fine if the spawnd unit is an infantry group. But if the group contains a vehicle it dosen't work.
After searching the net for a solution I found dozends of topics bout it. But they all didn't help me with my problem.
Here is the script I use:
---------------------------------------------------------------------------------------------------------------------------
if(!isServer)exitWith{};
G001 = createGroup east;
_veh = createVehicle ["CUP_O_BMP_HQ_RU",getMarkerPos "X1",[],0,"NONE"];
[
_veh,
[
["CUP_O_RU_Soldier_VDV_EMR","driver"]
]
] call BIS_fnc_initVehicleCrew;
WP001 = G001 addWaypoint [getMarkerPos "X1a", 0];
WP001 setWaypointType "MOVE";
WP001 setWaypointSpeed "LIMITED";
WP001 setWaypointBehaviour "SAFE";
------------------------------------------------------------------------------------------------------------------------------
The vehicle spawns after I have activated the script, but the unit doesen't care about the waypoint.
I'm pretty shure I have forgotten something, but I really don't know what.
Maybe one of you can help me with that.
Thanks for helping me
Greetz
Joa