Jump to content

Recommended Posts

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

@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!

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
  • Create New...