Difference between revisions of "Common Mistakes"

875 bytes added ,  15:56, 25 August 2010
New section for changing quest scripts added.
imported>Arthmoor
(→‎Don't Do These Things: Updated Gecko link to point to the CS Wiki article for TES4Edit.)
imported>Arthmoor
(New section for changing quest scripts added.)
Line 47: Line 47:


This is a critical issue that can cause a lot of CTDs, but somehow people still don't seem to know about it.
This is a critical issue that can cause a lot of CTDs, but somehow people still don't seem to know about it.
== Changing a Quest Script ==
When creating a quest, often times a script is needed in order to keep track of things or perform condition checks to update stages. If the script being assigned to a quest has any variables in it, you cannot later change the quest to then point to a new script.
Doing so will cause the indexes on any variables to be wrong (see above). This can lead to all manner of confusion as features in the quest stop working correctly, AI packs stop functioning, dialogue breaks, etc. Any other scripts that were previously compiled with references to this quest will also become broken as they will no longer be pointing to the proper indexes. This includes dialogue results and quest stage results as well.
Since the new script will likely have variable types in the wrong place, this can also lead to CTDs in addition to the unexplained behavior.


== Savegame Bloating ==
== Savegame Bloating ==
Anonymous user