Jump to content
🛡️FORUMS ARE IN READ-ONLY MODE Read more... ×
Bnae

[SOLVED] BIS_fnc_spawnVehicle

Recommended Posts

Hello

 

I'm trying to spawn a helicopter with crew into random position in certain radius from player. It works but after it spawns the helicopter starts to elevate.

I tried few other ways like createMarker with same issue. Only way that the helicopter didn't rise was actual placed marker on map.

 

Maybe i'm running this code from wrong place or it gets height from somewhere. Any ideas?

 

Local Exec.

_safepos = [player, 3500, 5000, 3, 0, 20, 0] call BIS_fnc_findSafePos;
_evac = [_safepos, random 360, "B_Heli_Light_01_F", WEST] call BIS_fnc_spawnVehicle;

 

 

-Bnae

Share this post


Link to post
Share on other sites

Nevermind.. AI goes full retard while I spectate the heli, that's why all this happened.

Share this post


Link to post
Share on other sites

×