Difference between revisions of "Reference Variables"

98 bytes added ,  15:29, 24 May 2006
no edit summary
imported>Jduvall
imported>Jduvall
 
CAVEAT: Objects created by leveled lists do not process in low, if you set a reference variable from a leveled list, if your script tries to refer to that reference variable when that actor isn't loaded, bad things will happen. So don't ever do a "set myRefVariable to myLeveledList.placeatme". Instead create an if-then section in a script which checks the player level, pick an appropriate base object for the players level, then do a "set myRefVariable to SpecificBaseObjectID.placeAtMe".
 
CAVEAT 2: You can not pass reference variables as parameters to functions that take references.
 
[[Category:Variables]]
Anonymous user