Difference between revisions of "GetUnconscious"
Jump to navigation
Jump to search
imported>Geckbot m (Robot: Automated text replacement (-\[\[Category:(.*?)Functions\]\] +Category:\1Functions\nCategory:\1Functions (GECK 1.0))) |
imported>Yukichigai |
||
(2 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
{{ | {{Function | ||
|CSWikiPage = GetUnconscious | |||
|origin = GECK1 | |||
|summary = Returns 1 if the actor has been set to an unconscious state using the [[SetUnconscious]] function. | |||
|name = GetUnconscious | |||
|returnVal = 0, 1 | |||
|returnType = int | |||
|referenceType = [Actor] | |||
|example = <pre>BuddyRef.GetUnconscious</pre> | |||
Returns 1 if Buddy has been set unconscious | |||
}} | |||
==Notes== | |||
*This function does not detect actors who have been rendered unconscious from fatigue damage or from being essential and losing all their health. To detect these situations, use [[GetKnockedState]] intead. | |||
==See Also== | |||
*[[SetUnconscious]] | |||
[[Category:Functions]] | [[Category:Functions]] | ||
[[Category:Functions (GECK 1. | [[Category:Condition_Functions]] | ||
[[Category:Actor_State_Functions]] | |||
[[Category:Functions (GECK 1.1)]] |
Latest revision as of 10:08, 20 October 2013
< [[::Category:Functions|Category:Functions]]
Link to TES4 Construction Set Wiki: GetUnconscious.
A function included in the GECK version 1.1.0.36.
Description
Returns 1 if the actor has been set to an unconscious state using the SetUnconscious function.
Syntax
(0, 1:int) [Actor].GetUnconscious
Example
BuddyRef.GetUnconscious
Returns 1 if Buddy has been set unconscious
Notes
- This function does not detect actors who have been rendered unconscious from fatigue damage or from being essential and losing all their health. To detect these situations, use GetKnockedState intead.