Jump to content

(SOLVED) Why are the items in my hand invisible?

Recommended Posts

I made 3 items for my character, and basically just copied and pasted the working original item, however, the two ones I copied are invisible in my hand. I believe it has to do with the "exported" file. 

I'll just put the character file here.


The problem was in the scripts/prefabs/[item].lua

In the part that says:

local function OnEquip(inst, owner)
        --owner.AnimState:OverrideSymbol("swap_object", "swap_wands", "purplestaff")
        owner.AnimState:OverrideSymbol("swap_object", "swap_wmjw", "wand")


I had to change:  

owner.AnimState:OverrideSymbol("swap_object", "swap_wmjw", "wmjw")


 owner.AnimState:OverrideSymbol("swap_object", "swap_wmjw", "wand")

Hopefully this helps someone!




Edited by bullbro
Link to comment
Share on other sites

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...