IsEquippedWeaponSilenced

From GECK
Jump to: navigation, search


A function added by the JIP NVSE Plugin.

Description

Checks whether the calling reference's equipped weapon is silenced. Returns:

0	If the weapon is not silenced.
1	If the weapon is silenced by default.
2	If the weapon has a silencer mod attached.

Syntax

[help]
(silenced:0/1/2) reference.IsEquippedWeaponSilenced

Example

ActorRef.IsEquippedWeaponSilenced 

Notes

  • This function can be used as a condition function (where applicable).

See Also