Hey everyone,
so I never really got into scripting with ArmA 2 but I have always been interested in coding so I decided to give it a try in ArmA 3
I'm trying to spawn a vehicle on a marker after a certain event happens and I don't really know what I'm doing.
The script fails when I try to spawn the actual vehicle.
_vehicle_1 = objNull;
if (true) then
{
_this = createVehicle ["B_Hunter_F", [(getMarkerPos _base1)], [], 0, "CAN_COLLIDE"];
_vehicle_1 = _this;
_this setPos [(getMarkerPos _base1)];
};
I have used hints to confirm that the script runs through this code and placed the marker "base1" infront of the player yet nothing happens ...
Can anyone tell me where I have gone wrong?