Home   Help Search Login Register  

Author Topic: assigning specific cargo slots  (Read 436 times)

0 Members and 1 Guest are viewing this topic.

Offline KJAM

  • Contributing Member
  • **
  • Why Me, Whats it For?
    • Nightstalker mod
assigning specific cargo slots
« on: 02 Aug 2003, 01:40:26 »
ok, lets say a helo has 13 slots allowing 13 soldiers to get in, but lets just say i have 2 guys and for asthetic reasons i want them to occupy cargo slots numbers 3 and 7 anybody know how to do this?.

Example
A huey has 12 cargo slots (just for arguments sake lets say it has, and not the pilot or gunner positions either, lets say they are occupied) and i have 4 soldiers, now 4 of the 12 cargo slots, when a soldier is in them, is on the floor of the huey with his feet on the skids, i can easily enough WHICH cargo slot it is, but i cant figure how to move them into the specific slots i want

can anyone help me?

Offline General Barron

  • Former Staff
  • ****
  • Semper Fi!
Re:assigning specific cargo slots
« Reply #1 on: 02 Aug 2003, 02:21:11 »
You can move gamelogics into a vehicle just like other units (logic moveincargo helo), and they will take up the slot they are in, just like a real unit. Hence, you could first camcreate a couple logics, move them into the helo, then move in your first man, then camcreate a few more logics and move them in the helo, then move the second guy in.

Hope that helps  ::)
HANDSIGNALS COMMAND SYSTEM-- A realistic squad-control modification for OFP
kexp.org-- The best radio station in the world, right here at home! Listen to John Richards!

shadow99

  • Guest
Re:assigning specific cargo slots
« Reply #2 on: 06 Nov 2004, 00:57:04 »
So uh, how do I create a gamelogic to move in the helo through script, then?
Would I do:


logic = "gamelogic" camcreate [0,0,0]
logic moveInCargo chopper1

??


Offline Blip

  • Members
  • *
  • ...Old OFP FART...
Re:assigning specific cargo slots
« Reply #3 on: 06 Nov 2004, 07:21:09 »
You don't have to camcreate them.  Just make them in the editor and give them names like "gl1, gl2, etc..."

Then you just treat them like regular units in your script.

Quote
gl1 moveincargo chopper
gl2 moveincargo chopper

Blip  :joystick:

« Last Edit: 06 Nov 2004, 07:22:05 by Blip »
...NIGHT WALKER....