GetWeaponCritChance

From GECK
Jump to: navigation, search


A function added by the Fallout Script Extender.

Description

Returns the chance of a critical shot for the Weapon BaseForm. If weapon is omitted and a calling reference is provided, that reference's BaseForm is used.

Syntax

[help]
(critChance:float) weaponRefr.GetWeaponCritChance weapon:baseform 

Or:

(critChance:float) weaponRefr.GetCritPerc weapon:baseform 

See Also