Jump to content

[QUESTION] Animation while player walks


Cronoss

Recommended Posts

Hello again, this time I'm not posting because of an error of my script or something like that, I want to ask if is it possible to execute an animation while the player walks or moves without cancelling the "walk", I mean, when you set the player's animation they freeze, and I tried turning "true" some parameters but it's not working for me. 

function blablabla(thePlayer)
		setPedAnimation(thePlayer, "animation", "animation", -1, false, true, true, false) ------parameters
---------blablabla

If exist something that could make possible run the animation while the player walks or moves... I would like to know how and why the other parameters doesn't allow me to make that possible

Link to comment

there may be custom animations or they may have installed extra script to provide it. because setPedAnimation always allows 1 animation and the player stays frozen (except for walking animations)

you can use 3ds max to create custom animations and use "engineLoadIFP" function to load this custom animation. if you're going this way

Edited by Burak5312
  • Thanks 1
Link to comment

it all depends on the animation itself, if the animation itself allows you to walk, then yes, you can walk with animation enabled, but this is not available to all animations. And also you can import your own animations into the game. The Internet is full of guides for creating animations for a character in the game.

  • Thanks 1
Link to comment

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
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...