Difference between revisions of "GetIsSex"
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>Pintocat |
||
(2 intermediate revisions by one other user not shown) | |||
Line 1: | Line 1: | ||
{{ | {{Function | ||
|origin = GECK1 | |||
|summary = Returns 1 if the calling actor is of the specified sex (male/female). | |||
|name = SetGlobalValue | |||
|returnType = bool | |||
|arguments = | |||
{{FunctionArgument | |||
|Name = sex | |||
|Type = string | |||
}} | |||
}} | |||
==Examples== | |||
<pre> | |||
If GetIsSex Male == 1 | |||
</pre> | |||
<pre> | |||
If Player.GetIsSex Female | |||
</pre> | |||
Link to TES4 Construction Set Wiki: [http://cs.elderscrolls.com/constwiki/index.php/GetIsSex GetIsSex]. | Link to TES4 Construction Set Wiki: [http://cs.elderscrolls.com/constwiki/index.php/GetIsSex GetIsSex]. | ||
Line 7: | Line 25: | ||
[[Category:Functions]] | [[Category:Functions]] | ||
[[Category:Functions (GECK 1.1)]] | |||
[[Category:Actor State Functions]] | [[Category:Actor State Functions]] | ||
[[Category:Actor State Functions (GECK 1.1)]] | |||
[[Category:Condition Functions]] | [[Category:Condition Functions]] | ||
[[Category:Condition Functions (GECK 1.1)]] |
Latest revision as of 04:16, 20 January 2017
< [[::Category:Functions|Category:Functions]]
A function included in the GECK version 1.1.0.36.
Description
Returns 1 if the calling actor is of the specified sex (male/female).
Syntax
(bool) SetGlobalValue sex:string
Examples
If GetIsSex Male == 1
If Player.GetIsSex Female
Link to TES4 Construction Set Wiki: GetIsSex.