Difference between revisions of "GetRestrained"
Jump to navigation
Jump to search
imported>Geckbot m (Robot: Automated text replacement (-\[\[Category:(.*?)Functions\]\] +Category:\1Functions\nCategory:\1Functions (GECK 1.0))) |
imported>PoHa! (Copied info, used the template for functions) |
||
(One intermediate revision by one other user not shown) | |||
Line 1: | Line 1: | ||
{{ | {{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 | |||
}} | |||
==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. | [[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
(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.