Search the Community
Showing results for tags 'getin'.
Found 2 results
Hey guys and girls. I am trying my first time in making a group spawn in my mission. it is a MP game and it is all for making the base look alive. I can spawn the group and i can make them move, But i can't get them to go inside a helicopter. I have tried with GETIN and GETIN NEAREST. The Helicopter is not spawned in to game it is placed in editor. How can i make this work as simple as possible _spawngroup = [getMarkerPos "MARK1", INDEPENDENT, ["I_G_Soldier_A_F", "I_G_Soldier_F", "I_G_Soldier_AR_F"]] call BIS_fnc_spawnGroup; _wp1 = _spawngroup addWaypoint [getmarkerpos "wp1", 0]; _wp1 setWaypointType "MOVE"; _wp1 setWaypointSpeed "NORMAL"; _wp1 setWaypointBehaviour "CARELESS"; _wp1 setWaypointFormation "COLUMN"; _wp2 = _spawngroup addWaypoint [getmarkerpos "WP2", 0]; _wp2 setWaypointType "GETIN NEAREST"; _wp2 setWaypointSpeed "NORMAL"; _wp2 setWaypointBehaviour "CARELESS"; _wp2 setWaypointFormation "COLUMN";
I am making a mission where I have 2 AI + the player himself in a boat driving towards the shore. When at the shore I need them all to board a hatchback. Whatever I try I can't get this stupid AI to do the right thing. I've tried the most common option: unit1 assignAsCargo [car1]; unit1 orderGetIn true; Unfortunatly this doesn't work. The AI just keeps sitting in the boat. If I add the orderGetOut command first they DO get out of the boat but then just walk a bit around. When I make one of the AI's group leader, they hop out of the boat, walk around and then order me to get in the boat instead of the car. I also tried it with waypoints but that gave the same results. Does anyone know how I can get this to work? At the moment I am so frustrated of the AI that I just want to teleport them in. But that would not look very nice.