GetRestrained

< [[::Category:Functions|Category:Functions]]

Link to TES4 Construction Set Wiki: GetRestrained.

A function included in the GECK version 1.1.0.36.

Description

Returns 1 if the actor has been set to a restrained state using SetRestrained and 0 otherwise

Syntax

(0, 1:int) [Actor].GetRestrained

Example

BuddyRef.GetRestrained

Returns a 1 if Buddy has been set to restrained

Notes

  • Restrained actors will not move from their current position, but will continue to "think" (pick packages, run detection so they could yell alarms) and go into dialogue.

See Also