Lestarver Posted February 15, 2014 Share Posted February 15, 2014 My character isn't supposed to wear hats please help me all people who is KIND Link to comment https://forums.kleientertainment.com/forums/topic/31617-help-for-my-mod/ Share on other sites More sharing options...
seronis Posted February 15, 2014 Share Posted February 15, 2014 Install and read code for any mod that adds additional slots (backpack / necklace slots for example). Apply logic to use gained knowledge to remove hat slot. Make sure code to remove hat slot is only run for your specific character (hint use a postInit callback) Link to comment https://forums.kleientertainment.com/forums/topic/31617-help-for-my-mod/#findComment-415790 Share on other sites More sharing options...
Lestarver Posted February 15, 2014 Author Share Posted February 15, 2014 I did try it but i can't put it in specific character Link to comment https://forums.kleientertainment.com/forums/topic/31617-help-for-my-mod/#findComment-415791 Share on other sites More sharing options...
TheDanaAddams Posted February 15, 2014 Share Posted February 15, 2014 I did try it but i can't put it in specific characterAddSimPostInit(function(inst) if inst.prefab == "MYCHARACTER" then RemoveHatSlotPostInit(inst) endend)Then define RemoveHatSlotPostInit as the code that disables the hat slot. Link to comment https://forums.kleientertainment.com/forums/topic/31617-help-for-my-mod/#findComment-415840 Share on other sites More sharing options...
Lestarver Posted February 15, 2014 Author Share Posted February 15, 2014 THANK you very much Link to comment https://forums.kleientertainment.com/forums/topic/31617-help-for-my-mod/#findComment-415846 Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now