GetRestrained

From GECK
Jump to: navigation, search


A function included in the GECK for Fallout 3.

Description

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

Syntax

[help]
(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