» Fri Apr 29, 2011 11:18 pm
OK, open the Geck and highlight 'script' under miscellaneous, then type 'bobb' into the filter. This will show you all of the bobblehead scripts except the bh01 quest script. First off, the BH01QuestScript is only used to store the variables used by the other scripts. There are three main types of bobblehead scripts:
Type 1 is for when you pick them up and you are awarded the bonus for the bobblehead. These begin 'bobblehead[stat/skill]'. One example is 'BobbleheadAGLscript' which give the player the agility bonus when the agility bobblehead is picked up.
Type 2 is used for when the player clicks on a bobblehead after it is displayed on the stand. This is used to display the motivational message and nothing more. These scripts begin with 'bobbleheadPlacedScript[stat/skill]. An example would be 'BobbleheadPlacedScriptAGL'
Type 3 is just two scripts, one used by the Megaton display stand, and another used by the Tenpenny Suite display stand. These are called: 'BobbleheadDisplayMegatonScript' and 'BobbleheadDisplayTenpennyScript' respectively. Its these scripts which enable the bobbleheads on the displays and remove the ones in the player's inventory.