dfac364 Posted June 13, 2012 Share Posted June 13, 2012 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 More sharing options...
dfac364 Posted June 13, 2012 Author Share Posted June 13, 2012 bump Link to comment Share on other sites More sharing options...
dfac364 Posted June 14, 2012 Author Share Posted June 14, 2012 bump Link to comment Share on other sites More sharing options...
dfac364 Posted June 18, 2012 Author Share Posted June 18, 2012 last bump? Link to comment Share on other sites More sharing options...
d0kefish Posted June 18, 2012 Share Posted June 18, 2012 Why restrict it? You should however be able to strip the character of all its gear. Only allowing it to have 1 weapon. How you do this, I dont know. Link to comment Share on other sites More sharing options...
gasti89 Posted June 18, 2012 Share Posted June 18, 2012 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 More sharing options...
dfac364 Posted June 18, 2012 Author Share Posted June 18, 2012 awesome thank you all very much!! Link to comment Share on other sites More sharing options...
Recommended Posts