anb2004 Posted June 2, 2018 Share Posted June 2, 2018 Hi.First of all i'm not really big with coding stuff, but i'm always willing to learn, so please bear with me.Already set up a script that allow me to change my specific armor with texture that i want through voice power spell, works perfectly, though i have to re-equip it to see the changes but i'm fine with it.The script : Scriptname MyHunterArmor extends ObjectReference Message Property MsgHunterArmor Auto Int Property Button Auto TextureSet Property HunterArmor Auto String Property ArmorBrown Auto String Property ArmorBlack Auto String Property ArmorWhite Auto String Property ArmorGreen Auto Event OnActivate(ObjectReference akActionRef) Button = MsgHunterArmor.Show() if Button == 0 ; Brown Camo HunterArmor.SetNthTexturePath(0, ArmorBrown) Elseif Button == 1 ; Black Camo HunterArmor.SetNthTexturePath(0, ArmorBlack) Elseif Button == 2 ; White Camo HunterArmor.SetNthTexturePath(0, ArmorWhite) Elseif Button == 3 ; Green Camo HunterArmor.SetNthTexturePath(0, ArmorGreen) Elseif Button == 4 ; Cancel EndIf EndEvent Yeah, nothing great with my script, though it took me some time to set it up (like i said, i'm that bad with coding). So after using it for a while the only thing i found is missing is how to get the changes persistent across saves, since the texture will revert back to default (brown) everytime i load the game. Try to learn from Insanity's The Huntsman mod and some post like this, this or this but still can't get my head around it to figure what to do first. So any help would be appreciated.Thanks. Link to comment Share on other sites More sharing options...
Recommended Posts