Home   Help Search Login Register  

Author Topic: snYpir's fast chopper script  (Read 548 times)

0 Members and 1 Guest are viewing this topic.

AnarCHy

  • Guest
snYpir's fast chopper script
« on: 26 Jul 2004, 13:50:51 »
having more and more problems, with no obvious (to me....) solutions, today.

I am trying to use the script snYpir posted on OFPEC for landing, unloading, loading and getting out of AI choppers.

What happens is, I used the script befrore, without having the chopper take off after i get in, but when I add the code to the waypoint (aP in helo  and in On Activation: var_cancel_landing) I get an error message.


Did I do something wrong here?  Am I missing something?

At first I thought it was because I needd to change the units in the choppper's names, inside the script, but that sent me to main OFP menu.
Then I thought that the script called for more/less than the # of units of crew inside the chopper, then realized every chopper had the same amout...

AH!

ANY Help is appreciated.

(i just really want this mission to work)

thanks again (today),
AnarCHy


P.S.  Maybe someone can give me a better one, that works right the first time?

Offline h-

  • OFPEC Site
  • Administrator
  • *****
  • Formerly HateR_Kint
    • OFPEC
Re:snYpir's fast chopper script
« Reply #1 on: 01 Aug 2004, 08:35:29 »
I'm not very familiar with this script, but:

The error message appears because crew returns an array, and units returns an array too... (ok, badly explained but anyhoo... ::) )

So, you need to loose the units from that sentence...
Project MCAR   ---   Northern Fronts   ---   Emitter 3Ditor
INFORMATIVE THREAD TITLES PLEASE. "PLEASE HELP" IS NOT ONE..
Chuck Norris can divide by zero.

AnarCHy

  • Guest
Re:snYpir's fast chopper script
« Reply #2 on: 01 Aug 2004, 08:59:57 »
awesome it worx

thanks,
AnarCHy
« Last Edit: 01 Aug 2004, 09:00:18 by AnarCHy »