SenL Posted January 25, 2015 Share Posted January 25, 2015 How does this function work? local function OnEquip( inst, owner ) owner.AnimState:OverrideSymbol( ... , ... , ... ) What are those three parameters? Thanks. Link to comment Share on other sites More sharing options...
rezecib Posted January 25, 2015 Share Posted January 25, 2015 @SenL, I'm not completely sure, but I think it's this: AnimState:OverrideSymbol(symbol, build, animation) symbol: The part of a given bank's AnimState that can be swapped (e.g. the torso of a player)build: The build of the thing being swapped inanimation: The particular animation within the build being swapped in that you want to play. This is just my speculation based on looking at the game's code, mostly at prefabs/amulets Link to comment 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