Difference between revisions of "Calling reference"
Jump to navigation
Jump to search
imported>Odessa (Created. Source me.) |
imported>Odessa m (+cat) |
||
Line 9: | Line 9: | ||
.. | .. | ||
</pre> | </pre> | ||
[[Category:Debugging]] |
Latest revision as of 11:46, 14 August 2014
Some functions may be called on a reference, and apply their procedure to them. Beware that a ref variable does not necessarily store a reference- in the GECK it may also store a base form. For example:
ref MyRefVar set MyRefVar to WeapNV9mmPistol ; Base form! if MyRefVar.IsQuestItem ; !INVALID for base forms! .. if IsQuestItem MyRefVar ; Valid for base forms ..