Home   Help Search Login Register  

Author Topic: Getting guys to move after dropped off. . .  (Read 491 times)

0 Members and 1 Guest are viewing this topic.

mr.sert

  • Guest
Getting guys to move after dropped off. . .
« on: 14 Mar 2003, 10:55:41 »
I am using the"x_moveincargo" command to put two groups into choppers. I use a rappel script to get them out. After that they dont seem to respond to any commands. What is the easiest way to get them to move on after they have left the chopper? ? Thanks in advance.....


- Mr. Sert

Knut Erik

  • Guest
Re:Getting guys to move after dropped off. . .
« Reply #1 on: 14 Mar 2003, 10:57:52 »
Just make a waypoint where you want them to move. Then they will move over there as soon as they get off the chopper!
 ;D

Offline Ranger

  • Members
  • *
  • Hoo-ah!
Re:Getting guys to move after dropped off. . .
« Reply #2 on: 14 Mar 2003, 17:53:58 »
While creating a HALO script, I came across the same issue, and I posted here my findings.

While I don't know what your rappel script is doing in terms of code, I can surmise that it's the same thing: use the setPos command to move the unit out of the chopper *without* opening a parachute.

If that's what your code does, then that's wherein lies the problem.  When you use setPos to move an AI unit out of a vehicle, the AI for that unit effectively ceases to function.  The unit will probably fire back at enemies in range, but the unit will not move, nor will it follow the commands of the group leader.

Solution: none that I know of.  Simply, you cannot use setPos to take a unit out of a vehicle.

Maybe you can force the unit to eject, which is safe to do, and then delete the parachute with deleteVehicle.  E.g.:

deleteVehicle (vehicle unit1)

See if that works.  Inject that into your rappel script.
Ranger

Josef

  • Guest
Re:Getting guys to move after dropped off. . .
« Reply #3 on: 14 Mar 2003, 20:28:09 »
The NEw Rappel v4 work fine...

I moveincargo them and give em a waypoint to the target...

They move as soon as the squad hit the ground...