Home   Help Search Login Register  

Author Topic: Get Out chopper ai gets back in after group change  (Read 1036 times)

0 Members and 1 Guest are viewing this topic.

Offline ScouseJedi

  • Members
  • *
Get Out chopper ai gets back in after group change
« on: 09 Sep 2002, 22:37:36 »
1. I have a UH60 (heli1) with a single ai on it (player1) on it. The chopper is flying and player is in cargo

2. I have an officer from a group entitled talk_group (init field of leader has talk_group = group this)

3. When the chopper lands I use a Get Out waypoint and player1 and 2 crew disembark.

4. They then approach talk_group and I

[player1] join talk_group at a syncronous waypoint at which point the 2 crew members should stay where they are and everyone else head off.

Problem -  player1 is getting back into the UH60.

Any thoughts?


'The truth is a beautiful and terrible thing, and should therefore be treated with great caution.'
Albus Dumbledore

Offline Black_Feather

  • Former Staff
  • ****
  • I'll never forget you Daisey.
Re:Get Out chopper ai gets back in after group change
« Reply #1 on: 09 Sep 2002, 23:08:58 »
try UnassignVehicle player1

Offline ScouseJedi

  • Members
  • *
Re:Get Out chopper ai gets back in after group change
« Reply #2 on: 09 Sep 2002, 23:38:36 »
Thanks for that....

I suppose that looked like a silly question..... :)  but the unassignvehicle command in the command ref really didn't give that much of I clue. I should have tried it - i was looking for unassignascargo...but never mind.

I don't know the form here but Ill take a few seconds to write up this topic incase you want to move it to the snippets section via a cut and paste.
...

Units starting in vehicles in the 'in cargo' state need to be removed from that vehicle.

simply
Code: [Select]
unassign vehicle unitname
If you forget this units will tend to get back into the vehicles they were just in rather than follow waypoints.
'The truth is a beautiful and terrible thing, and should therefore be treated with great caution.'
Albus Dumbledore