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.)

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.