FANDOM


setMiscValues(, , )

Description

Determines barrel recoil and slave firing delay for the associated weapon (this function is found in the *.wepn file.)

Example

setMiscValues(NewWeaponType, 1, 2)

Arguments
1.<vObjectType>: should always be NewWeaponType.
2.<fRecoilDistance>: how far (in meters) the barrel recoils after firing.
3.<fSlaveFireDelay>: delay (in seconds) between the weapon firing and the slave firing. Note: The total time it takes to fire the weapon and all of its slaves must be less than the weapon's firing time (see StartWeaponConfig.)