Difference between revisions of "Reference Variables"

21 bytes added ,  15:31, 24 May 2006
no edit summary
imported>Jduvall
imported>Jduvall
end
 
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 myLeveledListmyXmarker.placeatmeplaceAtMe myLeveledList". 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 SpecificBaseObjectIDmyXmarker.placeAtMe SpecificBaseObjectID".
 
CAVEAT 2: You can not pass reference variables as parameters to functions that take references.
Anonymous user