Difference between revisions of "Common Mistakes"

Jump to navigation Jump to search
196 bytes added ,  10:49, 19 May 2009
→‎Persistent Doors: make issue more generic
imported>Dev akm
(→‎GetBaseActorValue Includes Ability Fortify Effects: ways to fix. Huge thanks to ABO for this.)
imported>Dev akm
(→‎Persistent Doors: make issue more generic)
Line 24: Line 24:
A simpler approach would be to use the [[GetTotalAEAbilityMagnitude]] function, but this appears to actually be slower than doing it yourself.
A simpler approach would be to use the [[GetTotalAEAbilityMagnitude]] function, but this appears to actually be slower than doing it yourself.


== Persistent Doors ==
==Altering Persistent References==


Vanilla doors can't be moved in mods without incompatibilities with most existing savegames since their position is stored in the savegame data once you come near them. Modders should try to avoid moving doors from the original game.
Persistent references such as doors are tricky to alter in a mod since their position is stored in the player savegame data. Modders should try to avoid moving doors and other persistent objects from the original game if possible. If you do have to move them, the only reliable way to do it without requiring a new savegame is to use a script to move them (forcing the updated locations get recorded in the savegame).


== Changing Script Variables ==
== Changing Script Variables ==
Anonymous user

Navigation menu