OFPEC Forum

Editors Depot - Mission Editing and Scripting => ArmA - Editing/Scripting General => Topic started by: waylay00 on 09 Apr 2009, 04:14:45

Title: "Get In Nearest" Waypoint Problem! Help!
Post by: waylay00 on 09 Apr 2009, 04:14:45
I'm trying to experiment with various triggers, since I'm new to making missions. I am making a trigger so that when my group of OPFOR scouts spots the enemy, a group of OPFOR pilots at the airbase scrambles to four available single seat MiGs. So for this waypoint, I have selected the "Get In Nearest" option, as I assumed that all four pilots would get in all four planes. However, the squad leader is the only one who gets in the one of the planes. The rest of the pilots just stand there, even though there is room in the other planes.

What am I doing wrong?

Thanks!
Title: Re: "Get In Nearest" Waypoint Problem! Help!
Post by: Worldeater on 09 Apr 2009, 10:01:42
You are expecting too much! ;)

The "Get In Nearest" waypoint (http://community.bistudio.com/wiki/ArmA:_Mission_Editor#Waypoints_Mode_.28F4.29) will only find a single vehicle. So the group will try to mount one MiG. Since there are not enough seats the rest of the group will simply do nothing.

Solution: Split the group and use four waypoints. Take care that not two pilots try to mount the same plane.
Title: Re: "Get In Nearest" Waypoint Problem! Help!
Post by: Ext3rmin4tor on 09 Apr 2009, 12:13:59
Or you can write a small script and use assignAsDriver and orderGetIn commands.
Title: Re: "Get In Nearest" Waypoint Problem! Help!
Post by: Wolfrug on 09 Apr 2009, 14:47:12
Or in fact, just assign each pilot to a plane using AssignAsDriver (http://www.ofpec.com/COMREF/index.php?action=details&id=27), and then place down a single Get In waypoint anywhere close (not on top of) the planes - the Get In waypoint acts more or less exactly the same as (array) orderGetin TRUE -> each pilot will board their assigned position, and so on.

Wolfrug out.