Slipskull Posted July 8, 2013 Share Posted July 8, 2013 (edited) I need some help regarding a script that I used to use on private mods in Oblivion that I'd like to move over to Skyrim. There were occasions where I'd force a custom race to wear a specific set of armor so that if it was taken off, it was re-equipped, and dropping it added it back to the inventory and equipped it again. The template I used looked like this: (Magic Effect Script Type; Set this script to a race's Ability) scn [insert Name Here] begin GameModeif GetPCIsRace [RaceID]if(player.getitemcount [itemID 01] <=0)player.additem [itemID 01], 1elseendifif(player.getitemcount [itemID 02] <=0)player.additem [itemID 02], 1elseendifif(player.getitemcount [itemID 03] <=0)player.additem [itemID 03], 1elseendifif(player.getequipped [itemID 01] ==0)player.equipitem [itemID 01]elseendifif(player.getequipped [itemID 02] ==0)player.equipitem [itemID 02]elseendifif(player.getequipped [itemID 03] ==0)player.equipitem [itemID 03]elseendif elseendifend (Object Script Type; Set this script to an object) scn [insert Name Here] begin OnUnequipEquipItem [itemID]elseendifend begin OnHitResetHealthelseendifend I'm not sure how much of this could apply to Skyrim. If someone could show me a working template, or a compilation of commands compatible with Papyrus, it'd be greatly appreciated. On a side note, my Creation Kit takes 15 minutes to start up, another 5 to open a mod, and SKSE takes another couple. Both of them can't run at the same time, so testing anything in-game two or three times chews out nearly an hour of my day, maybe more if the CE crashes. That's why I can't experiment with this like I did in Oblivion. Edited July 8, 2013 by Slipskull Link to comment Share on other sites More sharing options...
SeraphimKensai Posted July 8, 2013 Share Posted July 8, 2013 www.creationkit.com has all the papyrus commands and tutorials you'll probably need. its just a matter of reading them and learning it. Link to comment Share on other sites More sharing options...
Slipskull Posted July 8, 2013 Author Share Posted July 8, 2013 www.creationkit.com has all the papyrus commands and tutorials you'll probably need. its just a matter of reading them and learning it. I forgot about that site completely. Last time I visited was the launch day of the CK. It seems most of the commands remained the same, just reworded slightly. Thanks for the ref. Link to comment Share on other sites More sharing options...
Recommended Posts