Difference between revisions of "Ref Variable"

311 bytes added ,  08:39, 9 September 2014
+see also for useful ref var functions
imported>Odessa
(Importantly, ref vars can store base forms as well as references)
 
imported>Odessa
(+see also for useful ref var functions)
 
Line 53: Line 53:
Beware that this is still a base form and may not be used as the [[calling reference]] to functions that allows this syntax, although it may be passed as the target if the function permits this.
Beware that this is still a base form and may not be used as the [[calling reference]] to functions that allows this syntax, although it may be passed as the target if the function permits this.


==See Also==
*[[IsReference]] - to check whether a ref var stores a reference, not base form.
*[[IsActor]] - to check if a <b>reference</b> is an actor.
*[[GetType]] - to check if a ref var refers is any particular type.
*[[IsFormValid]] - to check if a ref var is valid, which is useful in advanced scripting.
[[Category:Commands]]
[[Category:Commands]]
[[Category:Scripting]]
[[Category:Scripting]]
[[Category:Variables]]
[[Category:Variables]]
Anonymous user