Jump to content
Sign in to follow this  
SOF.unit.arma3

Spawning a dingy boat off a cmd when in a SWCC boat

Recommended Posts

_pos = (getPos (vehicle player));
_pos = [(_pos select 0) + 5, (_pos select 1) + 5, 0];
_dingy = "B_Boat_Transport_01_F" createVehicle _pos;

Creates a Blufor "Dingy" X&Z +5 from the players vehicle.

Edit:

You could use something like this to set the direction of the spawned boat if it is not right.

_pos = (getPos (vehicle player));
_pos = [(_pos select 0) + 5, (_pos select 1) + 5, 0];
_dingy = "B_Boat_Transport_01_F" createVehicle _pos;
_dingy setDir ((getDir (vehicle player)) + 90);

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  

×