Jump to content
felipechapmanfromm

AI only gets in some vehicles with GETIN NEAREST

Recommended Posts

I have got this code

casGroup = _this select 0;
casPos = _this select 1;
casSpawn = _this select 2;

_getIn = casGroup addWaypoint [position player, 0];
[casGroup, 1] setWaypointType "GETIN NEAREST";

when I fly a helicoper to the AI he won't get in, but with a boat it has. I have not tried with a car. (the heli was a hellenic mod one)

what is wrong with the code that makes this happen, or is it the mod

edit: with waypoints in the editor the AI happily get into the heli

Edited by felipechapmanfromm

Share this post


Link to post
Share on other sites

Use the assignAs... command followed  by OrderGetin command. Has worked since OFP. 

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

×