SetMiscValues

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.: should always be NewWeaponType. 2.: how far (in meters) the barrel recoils after firing. 3.: 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.)