Difference between revisions of "GetRestrained"

From the Fallout3 GECK Wiki
Jump to navigation Jump to search
imported>Geckbot
m (Robot: Automated text replacement (-Link to TES4 Construction Set Wiki +{{Incomplete}}\n\nLink to TES4 Construction Set Wiki))
imported>PoHa!
(Copied info, used the template for functions)
 
(2 intermediate revisions by one other user not shown)
Line 1: Line 1:
{{Incomplete}}
{{Function
|CSWikiPage = GetRestrained
|origin = GECK1
|summary = Returns 1 if the actor has been set to a restrained state using [[SetRestrained]] and 0 otherwise
|name = GetRestrained
|returnVal = 0, 1
|returnType = int
|referenceType = [Actor]
|example = <pre>BuddyRef.GetRestrained</pre>
Returns a 1 if Buddy has been set to restrained
}}


Link to TES4 Construction Set Wiki: [http://cs.elderscrolls.com/constwiki/index.php/GetRestrained GetRestrained].
==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==
*[[SetRestrained]]


[[Category:Functions]]
[[Category:Functions]]
[[Category:Functions (GECK 1.1)]]
[[Category:AI_Functions]]
[[Category:Condition_Functions]]

Latest revision as of 19:03, 7 February 2010

< [[::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

[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