Dretax Posted April 20, 2017 Posted April 20, 2017 I would like to make the player hold his hand If It was holding an item. What do I need to do for this inorder to achieve that? Use the boneattach resource somehow, or animations? (I need to make the player to be able to move while also holding his hands)
SheriFF Posted April 20, 2017 Posted April 20, 2017 I think there's a walking style where the ped holds his hands in front just like he carryes a box( not sure tho if it's a walking style or bone attach ). I think you should try this function with every walking style : setPedWalkingStyle
HeySlickThatsMe Posted April 20, 2017 Posted April 20, 2017 And also there's an animationhttps://wiki.multitheftauto.com/wiki/Animations#carry
Dretax Posted April 21, 2017 Author Posted April 21, 2017 3 hours ago, ThatsMe said: And also there's an animationhttps://wiki.multitheftauto.com/wiki/Animations#carry I didn't really find the carry walking style, but I believe the animation would not be permament, because if you would move it would disappear? No idea though. Will try that now.
#BrosS Posted April 21, 2017 Posted April 21, 2017 When you're holding an object you can't move ? or what you mean
HeySlickThatsMe Posted April 21, 2017 Posted April 21, 2017 crry_prtial - this animation is partial Partial animations allow player to move , just do few things with animation flags (3x True and false at the end of setpedanimation) and it will work
Dretax Posted April 22, 2017 Author Posted April 22, 2017 On 2017. 04. 21. at 16:32, ThatsMe said: crry_prtial - this animation is partial Partial animations allow player to move , just do few things with animation flags (3x True and false at the end of setpedanimation) and it will work Correct one was this btw. setPedAnimation(source, "CARRY", "crry_prtial", 1, true, true, false) 1
HeySlickThatsMe Posted April 22, 2017 Posted April 22, 2017 Yeah i was giving an example because im not that good in scripting 1
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