Difference between revisions of "GetFirstRef"

142 bytes added ,  05:16, 17 July 2014
added note
imported>Odessa
(Expanded greatly)
imported>Odessa
(added note)
Line 41: Line 41:
==Notes==
==Notes==
*The function will pick up dead and disabled references, note the example checks for this.
*The function will pick up dead and disabled references, note the example checks for this.
*Infinite loops immediately crash the game, so make sure you avoid this.
*Infinite loops immediately crash the game, so make sure you avoid this. <b>GetFirstRef</b> should be before the loop starts (outside it), whilst <b>GetNextRef</b> must be within it (it must run before it repeats).
==See Also==
==See Also==
*[[GetFirstRefInCell]]
*[[GetFirstRefInCell]]
Anonymous user