I did more experimenting, and I was able to get the officer to board the Mi17 by doing all of the following:
- Attaching a GETIN waypoint within the editor to the Mi17 and commenting out my previous orderGetIn-related code
- Starting the Mi17's engine before the officer tried to board it (previously, it was parked with the engine off)
- Moving the Mi17 to a different spot on the airfield
I noticed that with the GETIN waypoint created by the editor, the officer would attempt to board the Mi17, but it as if an invisible barrier about 3 meters from the chopper was preventing him from boarding. He kept twitching like he was trying to move closer but was unable to do so. Conversely, when only using scripts to make him board, he would walk within 15 meters (using Mandoble's suggestion) and simply stop, as if the AI ceased to function. So, that's why I then tried the waypoint created by the editor.
He also only seemed to be able to board while the chopper's engine was on, because then the chopper would lift off, then try to find a more suitable spot for him to board. That looks really dumb to me that the chopper is right in front of the officer, but it still has to lift off, then re-land so he can get in. But, if that's the only way it'll work, I'll live with it.
Moving around the chopper was necessary because it seemed as if the officer's angle of approach affected whether he was able to board. Or, it could just be my imagination.
In any event, I'm currently experimenting to see if I can get him to board the Mi17 without me having to move the Mi17 elsewhere. I liked the position where I had it, and I hope he can board there. So far, no luck. Later today I'll be able to test more and see what happens. I tried the above without yet trying the suggestions you all just gave me. So, I'll try those ideas, too, and see if a combination of all of this makes it work properly.
Thank you for your suggestions!
h-: Apologies for the double post.