Difference between revisions of "Common Mistakes"

135 bytes added ,  00:27, 29 May 2008
imported>DragoonWraith
(→‎Avoid Using PlaceAtMe: indenting properly.)
imported>Dev akm
Line 51: Line 51:
=== Avoid Using PlaceAtMe ===
=== Avoid Using PlaceAtMe ===


It's very surprising that there's no mention of this issue whatsoever in the high-profile tutorial [[Casting_Spells_From_An_Activator|Casting Spells From An Activator]], which apparently gives very bad advice by giving script examples that will leave garbage in your savegame.
Early versions of the high-profile tutorial [[Casting_Spells_From_An_Activator|Casting Spells From An Activator]] used PlaceAtMe extensively, which apparently was very bad advice because the script examples will leave garbage in your savegame. At the time it was written, PlaceAtMe was thought to be safe. The article has since been updated to use MoveTo, but many mods were created using the PlaceAtMe technique.


Unfortunately, using ''disable'' doesn't remove the reference from your savegame. It's mentioned on the [[:Category:About_Modding_Etiquette|Etiquette page]], but this is a pretty weak warning:
Unfortunately, using ''disable'' doesn't remove the reference from your savegame. It's mentioned on the [[:Category:About_Modding_Etiquette|Etiquette page]], but this is a pretty weak warning:
Anonymous user