InspectorDave Posted September 22, 2015 Share Posted September 22, 2015 Well this is the thing, i've been making my own custom item mod from the begining, trying to make everything from the start, and i have a problem: with spriter i've made the IDLE animation for the item while staying in the ground and works fine, but i can't make it visible while handed. I'm almost sure that the problem is in this part: local function onequip(inst, owner) owner.AnimState:OverrideSymbol("swap_object", -- Symbol to override. "whip", -- Animation bank we will use to overwrite the symbol. "whip") -- Symbol to overwrite it with. owner.AnimState:Show("ARM_carry") owner.AnimState:Hide("ARM_normal") end I'm using spritter, the entity name is whip, the two animations i added are "idle" and "BUILD" but doesn't work. Any help will be extremly apreciated.(While making the animations, sometimes a random image from my image folder was shown, but the image name "wea" "image1" or "f***ingimage", and those names were never in the sript file)(Sorry for my bad english) Link to comment https://forums.kleientertainment.com/forums/topic/58056-invisible-custom-item-in-hand/ Share on other sites More sharing options...
Noldaz Posted December 5, 2015 Share Posted December 5, 2015 I had the same problem and for me it it worked like this: owner.AnimState:OverrideSymbol("swap_object", "swap_MyObject", "swap_MyObject") Link to comment https://forums.kleientertainment.com/forums/topic/58056-invisible-custom-item-in-hand/#findComment-693030 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