hey again, im having trouble with a script im making to spawn a vehicle from an addaction. this is what i have to try and spawn an mrap for 25 points.
if (supplyPoints >= 15) then
{
hint "You deployed an MRAP Unarmed";
group_1 = createGroup west;
[getmarkerPos vehiclespawn, 180, "Athena_B_G_MRAP_01_F", west] call BIS_fnc_spawnVehicle;
supplyPoints = supplyPoints - 15;
sleep 3;
[module_zeus_1, [units group_1, true]] remoteExec ["addCuratorEditableObjects", 2];
hintSilent format ["Supply Points: %1", supplyPoints];
}
else {hint "You do not have enough supply points!";}
Im getting an error line 6 type object expected array.
lost to be honest again i could not get
_veh = createVehicle ["ah1w", position player, [], 0, "FLY"];
that format to work either making a complete mess of it
mb, ty

Do I dare ask what is the question?




