Difference between revisions of "AddPerk"

49 bytes added ,  19:58, 15 April 2009
m
terminology + token clarification
imported>DewiMorgan
m (→‎Notes: missed some whitespace)
imported>Cipscis
m (terminology + token clarification)
Line 15: Line 15:
* Loading a savegame in which the player has a mod-ceated perk, when the mod that created it is no longer installed, may crash the game. If you know the FormId of the Perk, you can remove it from yourself using the console. Modders are also strongly advised to provide an in-game means for players to remove perks, should they wish to uninstall.
* Loading a savegame in which the player has a mod-ceated perk, when the mod that created it is no longer installed, may crash the game. If you know the FormId of the Perk, you can remove it from yourself using the console. Modders are also strongly advised to provide an in-game means for players to remove perks, should they wish to uninstall.


One way is to add a zero weight token object to the player: first, an item called, eg "ExampleToken", with an "item" type script like the following is created:
One way is to add a zero weight token (an unplayable, therefore invisible, piece of armour) to the player: first, an item called, eg "ExampleToken", with an "object" type script like the following is created:
     ScriptName ExampleTokenScript
     ScriptName ExampleTokenScript
      
      
Anonymous user