Jump to content

the blood pit


dfac364

Recommended Posts

hey everyone, im working on a mod that would add a sparticus inspired underground fighting arena to solitude, unfortunatley i have run into a major hurdle, i cant seem to write a script that would ensure that the player is wearing the proper raiment which isnt all that surprising since im terrible at scripting, i assume it would involve a bool function but i cant put anything together that even looks like it should work, any ideas?
Link to comment
Share on other sites

I think you just need to write a condition in the event

 

IsEquipped

 

Armor property myCuirass auto

Armor property myHelmet auto

Armor property myGloves auto

Armor property myBoots auto

Event SomeEvent
      if (Game.GetPlayer().IsEquipped(myCuirass))  && (Game.GetPlayer().IsEquipped(myHelmet)) && (Game.GetPlayer().IsEquipped(myGloves)) && (Game.GetPlayer().IsEquipped(myBoots))
           Do something
     endif
endEvent

 

Or you can write a HasKeyword condition in the same way. Just create a new Keyword and assign it to your gear.

Link to comment
Share on other sites

  • Recently Browsing   0 members

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