Home   Help Search Login Register  

Author Topic: creating weapons  (Read 441 times)

0 Members and 1 Guest are viewing this topic.

wiggum

  • Guest
creating weapons
« on: 25 Jul 2004, 18:14:07 »
hello. i was wondering how to create weapons on the ground

Offline macguba

  • Former Staff
  • ****
    • macguba's operation flashpoint page
Re:creating weapons
« Reply #1 on: 25 Jul 2004, 20:05:09 »
You need to create a weaponholder.  Working example which happens to be from an init.sqs but you can do it anywhere.

weaponH1 = "weaponHolder" createVehicle getMarkerPos "WH"
weaponH1 addMagazineCargo ["kozliceball", 4]
weaponH1 addMagazineCargo ["kozliceshell", 4]
weaponH1 addWeaponCargo ["kozlice", 1]
weaponH1 setPos getMarkerPos "WH"
weaponH1 setDir 70


Search the forum, this came up a few weeks ago.

« Last Edit: 25 Jul 2004, 20:05:29 by macguba »
Plenty of reviewed ArmA missions for you to play