Jump to content

Need help getting started on a papyrus script.


Darg727

Recommended Posts

I have very basic skills with programing and will eventually put the time in to go through Cipscis' tutorial for skyrim. My delimma is two fold. The first is probably simple, but I want to create an reusable item that runs a script when used and can be hotkeyed. The second is the script:

 

 

if player has a specific item equipped (preferably based on a keyword)

(below switches only when the activation item is activated, is done one at a time, and loops indefinitely. think running through a list over and over.)

then check for item 1

if item 1 is equipped then equip item 2.

if item 1 was not equipped check for item 2

if item 2 is equipped then equip item 3.

if item 2 was not equipped check for item 3

if item 3 is equipped then equip item 1.

 

if first specific item is not equipped, check for a second item.

if equipped check for item 1

if item 1 is equipped then equip item 2.

if item 1 was not equipped check for item 2

if item 2 is equipped then equip item 3.

if item 2 was not equipped check for item 3

if item 3 is equipped then equip item 1.

 

if second item is not equipped, check for a third item.

if equipped check for item 1

if item 1 is equipped then equip item 2.

if item 1 was not equipped check for item 2

if item 2 is equipped then equip item 3.

if item 2 was not equipped check for item 3

if item 3 is equipped then equip item 1.

 

etc.

 

sorry my syntax is probably really poor, I'm living off of a few hours of sleep this weekend. I spent my free time of the last week going a scriptless route, but it was extremely rudimentary and didn't really address what I wanted to do with the mod. I don't mind doing work to figure out what to do, but having a guiding hand or hands would be much appreciated.

Link to comment
Share on other sites

  • Recently Browsing   0 members

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