Difference between revisions of "This"
no edit summary
imported>Vagrant0 |
imported>Vagrant0 |
||
Line 14: | Line 14: | ||
==Notes == | ==Notes == | ||
* Main difference from [[GetSelf]] is that [[This]] may be called directly as a reference for other functions, while [[GetSelf]] must be recorded to a script variable before it can be used. | |||
* When this function is called on a carriable object (such as a weapon or miscellaneous item), the reference returned only remains valid while the object remains in the gameworld. | * When this function is called on a carriable object (such as a weapon or miscellaneous item), the reference returned only remains valid while the object remains in the gameworld. | ||
* This function [[Talk:GetSelf#Unreliability with Player|appears to be unreliable]] when called on the player. | * This function [[Talk:GetSelf#Unreliability with Player|appears to be unreliable]] when called on the player. |