Home   Help Search Login Register  

Author Topic: Yet another question. This one is about Cargo.  (Read 635 times)

0 Members and 1 Guest are viewing this topic.

Offline Insanoblan

  • Members
  • *
  • Look! Im a chicken Marge!
Yet another question. This one is about Cargo.
« on: 09 Mar 2003, 23:40:31 »
I have two questions. Both about cargo
1. I have an ammo box that already has 4 grenades in it. I need to get rid of the 4 grenades and add 3 "Kegpora"s and 9 "KegDrillmag"s
2. I also need to have someone be in a car but not be grouped with the car. I know i can group it and select in cargo but i dont want to hear "All go to 12 41" and all that. It just ruins the atmosphere of taking a cab....thanks again folks.
Hey kid, wanna see a dead body!?

Kaliyuga

  • Guest
Re:Yet another question. This one is about Cargo.
« Reply #1 on: 09 Mar 2003, 23:46:51 »
1) AddMagazineCargo  & AddWeaponCargo

UnitName AddMagazineCargo ["AmmoType", Quantity]

UnitName AddWeaponCargo ["WeaponType", Quantity]


2)  adding this to the guy's init line:

this moveincargo  nameofvehicle  

will make him start the mission inside the specified vehicle you name in the editor

:toocool:

Offline Insanoblan

  • Members
  • *
  • Look! Im a chicken Marge!
Re:Yet another question. This one is about Cargo.
« Reply #2 on: 10 Mar 2003, 15:55:48 »
Thanks, but i already knew how to add things. I want to get rid of the 4 grenades that are already in there
Hey kid, wanna see a dead body!?

Offline macguba

  • Former Staff
  • ****
    • macguba's operation flashpoint page
Re:Yet another question. This one is about Cargo.
« Reply #3 on: 10 Mar 2003, 16:16:21 »
its removemagazine, or removemagazines, or removeweapon or something .... check out the command ref in the ed depot
Plenty of reviewed ArmA missions for you to play

Josef

  • Guest
Re:Yet another question. This one is about Cargo.
« Reply #4 on: 10 Mar 2003, 20:29:48 »
its summat like clearweaponcargo....

Offline Artak

  • The old beanbag shaker
  • Former Staff
  • ****
  • You want to talk about it, yes?
    • OFP Team Finlanders
Re:Yet another question. This one is about Cargo.
« Reply #5 on: 10 Mar 2003, 20:43:05 »
clearmagazineCargo ammocrate

               will make the ammocrate empty of all mags

clearweaponcargo ammocrate

               will make the ammocrate empty of all weapons


I see no other way of doing it but to first remove everything and then add the stuff you want.

What comes to the Q#2, is if you want the dude in the car already when missions starts do as Macguba there kindly said, but if you want the guy to board the vehicle during mission you should use

unitname assignascargo vehiclename
unitname ordergetin true
Not all is lost.