Aquaterion Posted April 14, 2016 Share Posted April 14, 2016 Is there anyway to get a prefab's build/bank? Link to comment Share on other sites More sharing options...
DarkXero Posted April 15, 2016 Share Posted April 15, 2016 function GLOBAL.GetBnB(inst) local str = inst.GetDebugString and inst:GetDebugString() if str then local bank, build = string.match(str, "AnimState: bank: (.*) build: (.*) anim:") -- print(bank, build) return bank, build end end Use this function on entities. Link to comment Share on other sites More sharing options...
Aquaterion Posted April 15, 2016 Author Share Posted April 15, 2016 Works great, thanks! I figured I also needed anim but I managed to do it ^^ 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