Home   Help Search Login Register  

Author Topic: Can't unload cargo units from vehicles that start as empty [SOLVED].  (Read 1197 times)

0 Members and 1 Guest are viewing this topic.

Offline Wardo

  • Members
  • *
  • I'm a llama!
Searched for an answer but couldn't find anything.

I can't get units to disembark from vehicles that start empty (and are loaded using moveIn/assignAs on init lines with two different groups, one for driver/gunner only and another for cargo), be it a boat or a chopper (haven't tried trucks). Forcing them to eject or get out is no good as they just board the vehicle back again after a few seconds. Why start empty? Because I want to use the gunner positions on the Blackhawk as additional "cargo" seats, or use a BLUFOR Crewman to drive RACS men around.

How can I do this? For what's worth it, I have attached two simple Rahmadi missions. Works.Intro.rar is an example of a working set using regular, non-empty starting vehicles. Nogood.Intro.rar is my lastest failed attempt to get an empty vehicle to work.
« Last Edit: 27 Nov 2007, 18:49:11 by Wardo »

Offline LCD

  • Former Staff
  • ****
    • Everon Cartel
Re: Can't unload cargo units from vehicles that start as empty.
« Reply #1 on: 26 Nov 2007, 13:34:11 »
good comand dat u need 2 pair w/ da eject comand is da unassignvehicle :D

use

unassignvehicle unitname

or  (if u need 4 da whole group)

{unassignvehicle _x} foreach units groupname

and here u got it ;) :D

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

Offline Wardo

  • Members
  • *
  • I'm a llama!
Re: Can't unload cargo units from vehicles that start as empty.
« Reply #2 on: 27 Nov 2007, 18:43:22 »
Wow! Don't even need to pair with eject that way! They leave the vehicle one by one, which is actually even better than having them all jump out at the same time, because some will jump on top of each other and look silly.

Thanks LCD, that worked, you're da man!  :clap: :good: :-* :D

Offline LCD

  • Former Staff
  • ****
    • Everon Cartel
u makin me blush  :-[  :D

have fun ;)

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