Jump to content

How to make swap animation correct?


Recommended Posts

swap_swords.zip I want to make swap anim for my weapon, but it dont works!
Here anim file and code:

local function onequip(inst, owner) 
    owner.AnimState:OverrideSymbol("swap_object", "swap_swords", "swap_sword_"..inst.material.."_"..tostring(inst.size)) --inst.material="goldnugget" inst.size=1
    owner.AnimState:Show("ARM_carry") 
    owner.AnimState:Hide("ARM_normal") 
end

 

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
 Share

×
  • Create New...