leron9999 Posted August 9, 2012 Share Posted August 9, 2012 Hey all. Is there a way to get the player's armor piece for later use? Something like pcCurrentHelmet = getArmor(Helmet). Of course, such a function doesn't exist (not that I know of). Is there an actual function or user-made code snippet that does something similar? Any help would be much appreciated. Link to comment Share on other sites More sharing options...
gasti89 Posted August 9, 2012 Share Posted August 9, 2012 don't understand what your function wants to return. Do you want to know wich helmet is equipped? if player has an helmet? Link to comment Share on other sites More sharing options...
Mujuro Posted August 9, 2012 Share Posted August 9, 2012 Try casting a GetWornForm([slotmask])? Link to comment Share on other sites More sharing options...
porroone Posted August 9, 2012 Share Posted August 9, 2012 Try casting a GetWornForm([slotmask])?That works, here is an example: chest = (Player.GetWornForm(4) as armor) Link to comment Share on other sites More sharing options...
leron9999 Posted August 9, 2012 Author Share Posted August 9, 2012 @gasti89: Sorry for being vague. Yes, I want to know which helmet (or any other gear) is equipped.@Mujuro and @porroone: That's definitely worth a try. I'll try it out as soon as I get home from work. Thanks for the assist. Link to comment Share on other sites More sharing options...
Mujuro Posted August 9, 2012 Share Posted August 9, 2012 No problem. :) Link to comment Share on other sites More sharing options...
leron9999 Posted August 11, 2012 Author Share Posted August 11, 2012 @Mujuro and @porroone: Just tested out the snippet you gave me. It works! Thanks again! I now have enough knowledge to create my evolving bound armor mod. By the way, here's the first mod I made. http://skyrim.nexusmods.com/mods/22177My next mod will be something like that, only with armor. Thanks again for the assistance. Link to comment Share on other sites More sharing options...
Recommended Posts