Home   Help Search Login Register  

Author Topic: Whats that command  (Read 513 times)

0 Members and 1 Guest are viewing this topic.

chrisb1220

  • Guest
Whats that command
« on: 30 Aug 2003, 20:07:24 »
Quick question. Whats the command to add weapons to a vehicle. Cant find it anywhere :help:

Offline dmakatra

  • Members
  • *
  • Better known as Armsty
Re:Whats that command
« Reply #1 on: 30 Aug 2003, 20:17:57 »
addweaponcargo/addmagazinecargo

chrisb1220

  • Guest
Re:Whats that command
« Reply #2 on: 30 Aug 2003, 20:23:46 »
No not that one. I wanna add some bombs to a plane

chrisb1220

  • Guest
Re:Whats that command
« Reply #3 on: 30 Aug 2003, 20:26:16 »
I have the names i just need the command

SheepOnMintSauce

  • Guest
Re:Whats that command
« Reply #4 on: 30 Aug 2003, 22:02:56 »
Quote
unit selectWeapon weapon

Operand types:
unit: Object
weapon: String
Type of returned value:
Nothing
Description:
Select given weapon. For weapon values see CfgWeapons.

Example:
soldierOne selectWeapon "LAWLauncher"

Is it that? Or did you mean..

Quote
unit addWeapon weaponName

Operand types:
unit: Object
weaponName: String
Type of returned value:
Nothing
Description:
Add weapon to unit. Note: you may create invalid combinations with this function like to rifles. When doing so, application behaviour is undefined.

Example:
player addWeapon "AK74"

Or not any of those.  :-\

chrisb1220

  • Guest
Re:Whats that command
« Reply #5 on: 30 Aug 2003, 23:49:07 »
oops i dunno wat i was thinkin or smokin. Forgot its the same as adding a weapon to a soldier.
sry bout that. thnx any way