ItachisTruth Posted February 26, 2011 Share Posted February 26, 2011 I made a topica little while ago but I have another question (Advise you look at my other question since you might be confused alittle). Is it possible to add a script to an item which makes it equip on pickup? Say if there was some NCR Ranger armor, and I wanted to equip it straight away without even opening my PipBoy, is there a script to do that? I want to try it to fix my broken PipBoy problem :\ Link to comment Share on other sites More sharing options...
MadNuttah Posted February 26, 2011 Share Posted February 26, 2011 (edited) Hi, why don't you just reinstall Fallout than trying to work around your problem? It's up to you, but if you want to add a script to each and every object... :) Edit: I have just read the other post, you've already tried that. Strange. After uninstalling Fallout have you deleted the game's folders on the harddisk as well? Anyway, this should do the trick: scn YourArmorItemSCRIPT ref NPCref begin OnAdd set NPCref to GetContainer if (NPCref == Player) if (NPCref.getEquipped YourArmorItem == 0) NPCref.EquipItem YourArmorItem endif endif end Hope this helps! Edited February 26, 2011 by MadNuttah Link to comment Share on other sites More sharing options...
ItachisTruth Posted February 26, 2011 Author Share Posted February 26, 2011 Hi, why don't you just reinstall Fallout than trying to work around your problem? It's up to you, but if you want to add a script to each and every object... :) Edit: I have just read the other post, you've already tried that. Strange. After uninstalling Fallout have you deleted the game's folders on the harddisk as well? Anyway, this should do the trick: scn YourArmorItemSCRIPT ref NPCref begin OnAdd set NPCref to GetContainer if (NPCref == Player) if (NPCref.getEquipped YourArmorItem == 0) NPCref.EquipItem YourArmorItem endif endif end Hope this helps! I <3 YOU!!! This worked perfectly! Thank you SO MUCH for your assistance :D Link to comment Share on other sites More sharing options...
Recommended Posts