JonSyn Posted May 11, 2014 Share Posted May 11, 2014 im trying to find a list of the animations, like getSwingAnim(); .im looking for the one when you are attacking a downed zombie with a axe or weapon. Link to comment Share on other sites More sharing options...
harakka Posted May 11, 2014 Share Posted May 11, 2014 I don't think there's anything else than getSwingAnim(), you can look yourself in the docs. JonSyn 1 Link to comment Share on other sites More sharing options...
RobertJohnson Posted May 11, 2014 Share Posted May 11, 2014 Look for when I do a "character:PlayAnim("animName")", there's some example. JonSyn 1 Link to comment Share on other sites More sharing options...
JonSyn Posted May 11, 2014 Author Share Posted May 11, 2014 thanks, digging for the animation you do when you kill a downed zombie, so i can use it for chopping up corpses lol. Link to comment Share on other sites More sharing options...
harakka Posted May 11, 2014 Share Posted May 11, 2014 Thanks for clearing that up RJ. For later reference, the commands are: PlayAnim(name)PlayAnimUnlooped(name)PlayAnimWithSpeed(name, speed) Where name is the animation name string, and speed is a number probably between 0 and 1, with values 0.1 and 0.3 used in the scripts.The names used in PZ Lua scripts are: "Idle""Run""Attack_" .. self.pole:getSwingAnim()"Attack_" .. self.axe:getSwingAnim()"Attack_" .. self.sledge:getSwingAnim() JonSyn 1 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