Difference between revisions of "GetSelf"
Jump to navigation
Jump to search
imported>Geckbot m (Robot: Automated text replacement (-\[\[Category:(.*?)\(GECK 1.0\)\]\] +Category:\1(GECK 1.1))) |
imported>Henning (Complete article.) |
||
Line 1: | Line 1: | ||
Link to TES4 Construction Set Wiki: [http://cs.elderscrolls.com/constwiki/index.php/GetSelf GetSelf]. | |||
Syntax: | |||
set RefVar to GetSelf | |||
Example: | |||
ref target | |||
set RefVar to GetSelf | |||
If RefVar.IsInCombat == 0 | |||
return | |||
Endif | |||
Returns the calling object itself as a reference. Useful for if statements and script effects on targets. | |||
[[Category:Functions]] | [[Category:Functions]] |
Revision as of 20:19, 22 October 2009
Link to TES4 Construction Set Wiki: GetSelf.
Syntax:
set RefVar to GetSelf
Example:
ref target set RefVar to GetSelf If RefVar.IsInCombat == 0 return Endif
Returns the calling object itself as a reference. Useful for if statements and script effects on targets.