Difference between revisions of "Common Mistakes"

35 bytes removed ,  21:50, 24 February 2009
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 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 [[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.
Anonymous user