Home   Help Search Login Register  

Author Topic: How do you spawn units into a vehicle???  (Read 541 times)

0 Members and 1 Guest are viewing this topic.

Offline Burn

  • Members
  • *
How do you spawn units into a vehicle???
« on: 05 Apr 2003, 19:34:48 »
Hi everyone, I'm back with yet another baffling question. ::)
Do anyone know how to make a group of units start inside of a vehicle, when the misson starts???

All help is GREATLY appreciated!!! :)
Thanks in advance ;D

~:BIZON:~

_hammy_

  • Guest
Re:How do you spawn units into a vehicle???
« Reply #1 on: 05 Apr 2003, 20:51:27 »
you can put this in every1s init field

this moveincargo vehicle

there is one command that you can just put in the squad leaders init field and it will do it for everyone, but I cant remember what command it is :(

its like "groupthis" or something like that :-\

Offline Burn

  • Members
  • *
Re:How do you spawn units into a vehicle???
« Reply #2 on: 05 Apr 2003, 21:27:30 »
Yep, that works fine... thanks ;D... Now to another problem, how do you make'em disembark again, I tried puting a unload waypoint for the wehicle and a disembark waypoint for the units that are in the cargo of the vehicle, but it doesn't seem to work... :-\ Any suggestions...
Thanks in advance :)

Offline Burn

  • Members
  • *
Re:How do you spawn units into a vehicle???
« Reply #3 on: 05 Apr 2003, 21:33:04 »
an the one to put in leaders init would be:"_x moveInCargo vehiclename" foreach units groupname
...I think!?! ::)

Flapje

  • Guest
Re:How do you spawn units into a vehicle???
« Reply #4 on: 05 Apr 2003, 21:48:16 »
an easy solution without init field stuff is to make a transport unload wp for the vehicle and a get out wp for the d00ds in it (if it's leaded by an AI you should give the wp to him) and synchronize them (f5)

now, since we're on this topic, how can you remove ie. a gunner from the start. so, if you got a blackhawk with mg, I want to remove the gunner. until now, I always just made an empty vehicle but I have the feeling this is more work than it should be  :-\

thnx in advance and hope this helps you bizon

EDIT: dunno if this is what you tried already, but make sure it isn't an unload wp but a transport unload wp
« Last Edit: 05 Apr 2003, 22:13:01 by Flapje »

_hammy_

  • Guest
Re:How do you spawn units into a vehicle???
« Reply #5 on: 06 Apr 2003, 00:40:57 »
Bizon: k, to put it in leaders init, use this:

group1 = group this; "_x moveincargo vehicle" Foreach units group1
« Last Edit: 06 Apr 2003, 00:42:39 by HAMMY »

Offline Burn

  • Members
  • *
Re:How do you spawn units into a vehicle???
« Reply #6 on: 06 Apr 2003, 01:34:06 »
Quote
group1 = group this; "_x moveincargo vehicle" Foreach units group1
yup, thats the one i was looki'n for...thanks ;D
your suggestion din't work Flapje :o... but thanks anyway :), and sorry, I don't know any way of getti'n rid of the gunner without maki'n an empty vehicle and adding a unit to it... but as sayi'n thanks to a shown efort i'll try to figure it out  for ya  ;D...........................................
I'VE GOT IT: make an empty chopper and a soldier of any kind...
then type: this moveindriver choppername 8) ...and be sure to remember to select flying on both the empty chopper and the soldier, if u want e'm airbourne :P NOTE: If this was what u meant by lot of work I cant help u, sorry ::)

[shadow=purple,left,300]~:BIZON:~[/shadow]
« Last Edit: 06 Apr 2003, 01:34:46 by Bizon »

Flapje

  • Guest
Re:How do you spawn units into a vehicle???
« Reply #7 on: 06 Apr 2003, 09:53:21 »
hehe that's ok ;) that WAS what I meant by a lot of work :P but if everything is solved here, you can press the solve button in the left bottom corner