Difference between revisions of "GetSelf"

From the Fallout3 GECK Wiki
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:
{{Incomplete}}
Link to TES4 Construction Set Wiki: [http://cs.elderscrolls.com/constwiki/index.php/GetSelf GetSelf].


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 21: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.