IsAiming

From GECK
Jump to: navigation, search


A function added by the ShowOff NVSE Plugin version 1.65.

Description

Returns 1 if the calling actor reference is aiming or zooming in, 0 otherwise.

In most cases, this is equivalent to checking if the aiming control is being pressed via IsControlPressed, though this function will be future-proofed in case a mod adds a toggle mode to aiming instead of requiring the control to be held.

Syntax

[help]
(isAiming:1/0) actorRefr.IsAiming 

See Also