z4x Posted April 2, 2013 Share Posted April 2, 2013 How would you do it guys? Im trying to add spell effect that prevents any armor from being equipped on certain slot. akActor.UnequipItemSlot(32) - doesnt prevent re-equipping akActor.equipitem(Armor, true, true) - it could work but needs some other armor, which I dont have. I've been thinking of some invisible armor without actual model that could fill that role, but not even sure how to do it? Do I just leave mesh field empty? Or is there some better method? Link to comment Share on other sites More sharing options...
GrimyBunyip Posted April 2, 2013 Share Posted April 2, 2013 invisible armor is probably the simplest method, just check the unplayable box on the armor. or you can use the equip item event to unequip immediately after equipping something. Link to comment Share on other sites More sharing options...
z4x Posted April 2, 2013 Author Share Posted April 2, 2013 Will unplayable box really make it invisible when equipped? I read its just invisible in inventory. How would you make unequip event read is something is equipped at all? It wouldnt trigger. Or im wrong? Link to comment Share on other sites More sharing options...
Derok Posted April 2, 2013 Share Posted April 2, 2013 (edited) I made this script that check if you have boots/shoes equipped and it removes them: Removed the script because it's not good. Edited April 2, 2013 by Derok Link to comment Share on other sites More sharing options...
GrimyBunyip Posted April 2, 2013 Share Posted April 2, 2013 make unplayable and remove all the models and yes it will be invisible when equipped. Link to comment Share on other sites More sharing options...
Recommended Posts