Difference between revisions of "Common Mistakes"
Jump to navigation
Jump to search
m
Modding Etiquette link
imported>Dev akm (→Changing Script Variables: removed link to yet another purged thread) |
imported>Wrye m (Modding Etiquette link) |
||
Line 52: | Line 52: | ||
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. | 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 | Unfortunately, using ''disable'' doesn't remove the reference from your savegame. It's mentioned on [[Modding Etiquette]], but this is a pretty weak warning: | ||
::... avoid using PlaceAtMe to create new copies of an object when you could simply use MoveTo on an existing object. | ::... avoid using PlaceAtMe to create new copies of an object when you could simply use MoveTo on an existing object. |