Home   Help Search Login Register  

Author Topic: Help with pilot script plz  (Read 902 times)

0 Members and 1 Guest are viewing this topic.

CptBravo

  • Guest
Help with pilot script plz
« on: 06 Oct 2002, 18:59:54 »
Hi,
I'm new to OFP and I am learning (attempting anyway) to learn about scripting.

I am trying to get a pilot to move into heli as soon as his base is attacked. I have tried using:  UnitName moveindriver VehicleName. It won't let me change the driver into pilot though! SO is there another command for moving pilots into empty choppers??

Thanks
« Last Edit: 07 Oct 2002, 05:06:48 by CptBravo »

Offline KTottE

  • Former Staff
  • ****
Re:Pilot move in script help please!!
« Reply #1 on: 06 Oct 2002, 19:34:04 »
Ah, what are you talking about?

If you do

UnitName MoveInDriver VehicleName

and VehicleName is the name of an empty helo he will become the pilot.
"Life is not a journey to the grave with the intention of arriving safely in a pretty and well preserved body, but rather to skid in broadside, thoroughly used up, totally worn out, and loudly proclaiming 'WOW What a Ride!'"

CptBravo

  • Guest
Re:Pilot move in script help please!!
« Reply #2 on: 07 Oct 2002, 05:04:11 »
Thanks KTottE!! Its finally working now! :)
I guess when I thought chopper I thought pilot instead of driver! :)
 

Guru

  • Guest
Re:Help with pilot script plz
« Reply #3 on: 13 Oct 2002, 02:22:41 »
as for the part about moves to chopper when dudes attack use a trigger set to east/west detected by otherside.in the triggers init: put->    dudesname moveindriver "choppername"
oh and set trigger size to cover all ur dudes and out to a distance u want em to be able to detect enemy IE:500-600 yrds out around ur base. ;D then he wont go to chopper till enemy attacks but will still do whatever u want till trigger is setoff
« Last Edit: 13 Oct 2002, 02:27:12 by Willy Makeit »

CptBravo

  • Guest
Re:Help with pilot script plz
« Reply #4 on: 13 Oct 2002, 05:20:16 »
Thanks!! I finally have it working.
Amazing what you can do with scripting I learning! :)