Justintime235 Posted April 29, 2015 Share Posted April 29, 2015 I have a custom item, a katana, and there seems to be an error in it. The katana works fine in game, but the only problem is when you drop it. When you do drop it, the image does not show for it. I have the anim .zip for it with the correct atlas-0. I have the anim traced back in the prefab lua too. I'm not too good with lua. Please help. Thank you in advance,-Justintime235 Link to comment https://forums.kleientertainment.com/forums/topic/53322-custom-item-error/ Share on other sites More sharing options...
DarkXero Posted April 29, 2015 Share Posted April 29, 2015 @Justintime235, what did you touch. With:inst.AnimState:SetBank("sandai")inst.AnimState:SetBuild("katana")inst.AnimState:PlayAnimation("idle")I could see the katana on the floor. Link to comment https://forums.kleientertainment.com/forums/topic/53322-custom-item-error/#findComment-632985 Share on other sites More sharing options...
Justintime235 Posted April 29, 2015 Author Share Posted April 29, 2015 @Justintime235, what did you touch. With:inst.AnimState:SetBank("sandai")inst.AnimState:SetBuild("katana")inst.AnimState:PlayAnimation("idle")I could see the katana on the floor.Oh wow I'm dumb. When you helped me with the other problem I kept inst.AnimState:SetBank("katana") and changed the inst.AnimState:SetBuild("katana") to ("sandai"). I don't know how I didn't notice that when I looked it over. Thank you very much! Link to comment https://forums.kleientertainment.com/forums/topic/53322-custom-item-error/#findComment-632991 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