Home   Help Search Login Register  

Author Topic: orderGetIn command  (Read 571 times)

0 Members and 1 Guest are viewing this topic.

Mr.BoDean

  • Guest
orderGetIn command
« on: 06 Aug 2003, 00:12:40 »
I've seen this in the ComRef usable as:

[unit1,unit2,unit3] orderGetIn true

and on Chris's OFP Script Editor referenced as:

_unit orderGetIn _heli


I have a heli pickup scenario with AI pilots executing a Chopperwait script. If the group leader is player, u order em in, all great. But if AI is leader, he ignores the GETIN WP synched to chopper's LOAD WP and nothing happens. So how can I make him order troops into that specific heli (MH6) , so heli can carry on to next WP?

I tried :

[P5,P6,P7] orderGetIn true   - nothing happened

[P5,P6,P7] orderGetIn MH6 - got error : expected bool

P5 ordergetIn MH6; P6 orderGetIn MH6; P7 orderGetIn MH6 - got error: expected array

I was putting these lines in the OnActivation of the group leader's MOVE WP just before the GET IN WP ,so that it wouldn't rely on the chopper's LOAD WP synch to happen.

What gives??  ???   ???  :-\   :-X   :-\   :-X

Or should I just make a condition somewhere that would moveincargo the units if the leader is AI?
« Last Edit: 06 Aug 2003, 00:18:16 by Mr.BoDean »

Skanderborgvej

  • Guest
Re:orderGetIn command
« Reply #1 on: 06 Aug 2003, 00:26:21 »
First you'll have to assign all units to the vehicle, I thought.

GRtz

peter

  • Guest
Re:orderGetIn command
« Reply #2 on: 06 Aug 2003, 00:43:34 »
right, the ordergetin-command needs assignment:

P5 assignascargo MH6
[P5] ordergetin true

or

"_x assignascargo MH6" foreach units groupname
units groupname ordergetin true


Offline LCD

  • Former Staff
  • ****
    • Everon Cartel
Re:orderGetIn command
« Reply #3 on: 06 Aug 2003, 00:45:17 »
u need 2 use assignvehicle commands w/ da ordergetin command (as Vlaamse said) it goes like dat

unitname assignasdriver vehiclename <---- assigns da unit in driver place
unitname assignasgunner vehiclename <---- assigns da unit in gunner place
unitname assignascommander vehiclename <---- assigns da unit in commander place
unitname assignascargo vehiclename <---- assigns da unit in cargo place

den u shud do

[unitname,unitname1,etc] ordergetin true

(if da above line doesnt work do "[_X] ordergetin true" foreach [unitname,unitname1,etc]

:cheers:

LCD OUT

arghhhhhhhhhhhhhhhhhhhhhhhhhhhh

im getin slow  :-X but i rite more ;D
« Last Edit: 06 Aug 2003, 00:46:17 by LCD »
"guess being the community has downsides .." - cheetah
Help Perfecting Da Next Best Thing - O-Team Beta

Mr.BoDean

  • Guest
Re:orderGetIn command
« Reply #4 on: 06 Aug 2003, 01:03:40 »
Ok, Suuuuhhhh wweeeeet! thx guys!  FINALLY I can get these 2 scripts to work in combo with each other for Pickup and dropoff ...no matter if it is a player or an AI as Leader. WHEW! I was beginning to have my doubts. Glad i got around to the ordergetin idea.

and LOL ,LCD .... maybe u need a hack to freeze other people out before u can answer new posts!  ;D   8)

hey wait a sec .... U already have something like that?   ...some of my posts have gone unanswered for a week!!  

 :o   :o    :o    :o  :P   :P    :P  ;)   ;)   ;)   ;D   ;D   ;D  
« Last Edit: 06 Aug 2003, 01:04:51 by Mr.BoDean »

Offline LCD

  • Former Staff
  • ****
    • Everon Cartel
Re:orderGetIn command
« Reply #5 on: 06 Aug 2003, 01:05:36 »
posts unanswered 4 a week ? :wow:

i was on vication fir 5 dayz nd OFPEC is getin dat bad ?  :-X link 2 em nd ill try 2 answer :P (if i have time ;))

LCD OUT
"guess being the community has downsides .." - cheetah
Help Perfecting Da Next Best Thing - O-Team Beta

Mr.BoDean

  • Guest
Re:orderGetIn command
« Reply #6 on: 06 Aug 2003, 01:12:51 »
Quote
posts unanswered 4 a week ? :wow:


thx, man ...well ,especially if you and your Q get banished to the MP board .....

 "the land that OFPEC forgot"  

Some of my 4-day old unanswered posts are still at the top! Needless to say, I learned my lesson .  ;)

Several of my problems have now been worked out after 2 days of pulling hair and getting this thread answered.  ;D

Mr.BoDean

  • Guest
Re:orderGetIn command
« Reply #7 on: 06 Aug 2003, 01:20:14 »

Offline LCD

  • Former Staff
  • ****
    • Everon Cartel
Re:orderGetIn command
« Reply #8 on: 06 Aug 2003, 01:23:44 »
check it out :P

nd solve dis topic

LCD OUT
"guess being the community has downsides .." - cheetah
Help Perfecting Da Next Best Thing - O-Team Beta

Mr.BoDean

  • Guest
Re:orderGetIn command
« Reply #9 on: 06 Aug 2003, 01:46:22 »
ok, check it ...responded and closed this one.   :-*  ;D