addFireArmsPosition


addFireArmsPosition <X/Y/Z>

addFireArmsPosition will allow you to place exactly where the firearm will shoot from. The interesting part is that you can add as many firearm postions as you want. If setAsynchronyFire is set to true, it will fire from each postion at a time. If it is false, they will all fire at once.

Example:

rem *** KatyushaFireArms ***
ObjectTemplate.create FireArms KatyushaFireArmsBundle
ObjectTemplate.setNetworkableInfo TankFireArmInfo
ObjectTemplate.setAsynchronyFire 1
ObjectTemplate.aiTemplate KatyushaMainGun
ObjectTemplate.projectileTemplate KatyushaRocket
ObjectTemplate.projectilePosition 0/0/0
ObjectTemplate.visibleDummyProjectileTemplate KatyushaRocketDummy
ObjectTemplate.magSize 6
ObjectTemplate.numOfMag 5
ObjectTemplate.velocity 45
ObjectTemplate.autoReload 1
ObjectTemplate.reloadtime 10
ObjectTemplate.roundOfFire 1
ObjectTemplate.fireingForce 30
ObjectTemplate.addFireArmsPosition -1.15/-0.188/0 0/0/0
ObjectTemplate.addFireArmsPosition -0.69/-0.188/0 0/0/0
ObjectTemplate.addFireArmsPosition -0.24/-0.188/0 0/0/0
ObjectTemplate.addFireArmsPosition 0.24/-0.188/0 0/0/0
ObjectTemplate.addFireArmsPosition 0.69/-0.188/0 0/0/0
ObjectTemplate.addFireArmsPosition 1.15/-0.188/0 0/0/0

Valid object types

Firearms