Difference between revisions of "Reference Variables"
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 myXmarker.placeAtMe 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 myXmarker.placeAtMe SpecificBaseObjectID".
CAVEAT 2: You can not pass reference variables as parameters to functions that take references.
[[Category:Variables]]
| |||