IsInIronSights - Actor

From the Fallout4 CreationKit Wiki
Jump to navigation Jump to search

Member of: Actor Script

Returns whether this actor is currently in iron sights.

Syntax[edit | edit source]

bool Function IsInIronSights() native

Parameters[edit | edit source]

None.

Return Value[edit | edit source]

True if this actor is in iron sights. False, otherwise.

Examples[edit | edit source]

; Test if player is in iron sights
bool bPlayerInIronSights = PlayerRef.IsInIronSights()

See Also[edit | edit source]