stef538 Posted June 24, 2014 Share Posted June 24, 2014 Hey guys, so I made a new animation for IV which replaces one, but every time when i try to loop it, it just does not work. Anyway this is the code i'm using : AnimationSet anims3 = new AnimationSet("playidles_tired_1h");AnimationFlags animflags3 = AnimationFlags.Unknown01 | AnimationFlags.Unknown05 | AnimationFlags.Unknown09;// the codeRCPed.Task.PlayAnimation(anims3, "heavy_breathing", 8f, animflags3); So the animation gets activated and works, only stops working after 5 seconds and then just does a normal standing animation. Anyone has an idea ? Link to comment Share on other sites More sharing options...
Noox Posted June 24, 2014 Share Posted June 24, 2014 That's in the main tick I guess, right? If yes th game keeps telling the NPC to play the animation so he always starts and stop, you should use Wait(animation time) or you change the interval but there probably is a better way. Link to comment Share on other sites More sharing options...
Wiebrendh Posted June 24, 2014 Share Posted June 24, 2014 That's in the main tick I guess, right? If yes th game keeps telling the NPC to play the animation so he always starts and stop, you should use Wait(animation time) or you change the interval but there probably is a better way. Yeah, you can check if the player is playing a specific animation. So i he is not playing that animation you can tell him to play the animation. (Hope my english did not suck to much Link to comment Share on other sites More sharing options...
stef538 Posted June 26, 2014 Author Share Posted June 26, 2014 aahh yes, that's fixed, but RCPed.Task.TurnTo(Player.Character.CurrentVehicle.Position); Doesn't work anymore, and if it does it doesn't play the animation.. Link to comment Share on other sites More sharing options...
Rugz007 Posted June 28, 2014 Share Posted June 28, 2014 Stef man I have 3ds max can you help. Me making animations because if I open the file by h1qt3 like that it says file cannot open plz help Link to comment Share on other sites More sharing options...
Rugz007 Posted June 28, 2014 Share Posted June 28, 2014 Never mind got it stef538 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