TheSandwich Posted May 23, 2013 Posted May 23, 2013 I tried doing what's on https://wiki.multitheftauto.com/wiki/SetPedAnimation and modified it. Now I can't seem to stop the animation even if I use the same command.
iPrestege Posted May 23, 2013 Posted May 23, 2013 You mean you want to remove or stop the animation ?
TheSandwich Posted May 23, 2013 Author Posted May 23, 2013 To stop it or if possible, set a duration to that animation to automatically stop.
AlexWo Posted May 23, 2013 Posted May 23, 2013 Well, on that wiki page you can add Optional Arguments like "time: how long the animation will run for in milliseconds." So if you add for example 3000 = 3seconds so it takes than 3 seconds
TheSandwich Posted May 23, 2013 Author Posted May 23, 2013 Where do I place those? Does it come after setPedAnimation(source,false) ?
AlexWo Posted May 23, 2013 Posted May 23, 2013 This animation should be enabled for 3 seconds and stops. setPedAnimation ( source, "DANCING", "dnce_m_b", 3000 )
TheSandwich Posted May 23, 2013 Author Posted May 23, 2013 On the current animation (left/right combat roll) I'm using it's not stopping unless I am aiming/shooting my weapon. It only stops if I aim/shoot. The timing was okay, but it still continues on rolling unless I aim/shoot.
AlexWo Posted May 23, 2013 Posted May 23, 2013 hmm... Now I don't know I'm only a "beginner" either. Maybe some better scripter can help you.
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