Jump to content

Requesting Help with a Specific Script Set


Slipskull

Recommended Posts

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 GameMode
if GetPCIsRace [RaceID]
if(player.getitemcount [itemID 01] <=0)
player.additem [itemID 01], 1
else
endif
if(player.getitemcount [itemID 02] <=0)
player.additem [itemID 02], 1
else
endif
if(player.getitemcount [itemID 03] <=0)
player.additem [itemID 03], 1
else
endif
if(player.getequipped [itemID 01] ==0)
player.equipitem [itemID 01]
else
endif
if(player.getequipped [itemID 02] ==0)
player.equipitem [itemID 02]
else
endif
if(player.getequipped [itemID 03] ==0)
player.equipitem [itemID 03]
else
endif
else
endif
end
(Object Script Type; Set this script to an object)
scn [insert Name Here]
begin OnUnequip
EquipItem [itemID]
else
endif
end
begin OnHit
ResetHealth
else
endif
end
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 by Slipskull
Link to comment
Share on other sites

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

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...