GRANDHEIST Posted January 21, 2016 Share Posted January 21, 2016 - Hello, Im trying to have dead ragdoll attached to player character hand that the player could drag around etc, similar to how the police ingame drags their death partners.. I've seen some mods that have ragdoll peds attached to other peds etc. I cant get ATTACH_ENTITY_TO_ENTITY_PHYSICALLYto work at all.. Any ideas? Link to comment Share on other sites More sharing options...
jedijosh920 Posted January 21, 2016 Share Posted January 21, 2016 I use the same native and it works for my mod, "Drag Dead" which I will update soon. What are you putting? Link to comment Share on other sites More sharing options...
GRANDHEIST Posted January 21, 2016 Author Share Posted January 21, 2016 (edited) Calling the Native in Ragehook: NativeFunction.CallByHash<uint>(0xC3675780C92F90F9, ped, Game.LocalPlayer.Character, ped.GetBoneIndex(PedBoneId.LeftHand), Game.LocalPlayer.Character.GetBoneIndex(PedBoneId.RightHand), 0f, 0f, 0f, 0f, 0f, 0f, 0f, 0f, 0f, -1, 1, 1, 1, 1, 2); It teleports once to player position and then just stays there, is it supposed to be called in loop? The ragdoll glitches if i do that., I would like them to be connected from the hands, and those bone indexes dont seem to do anything - So its working for you? Edited January 21, 2016 by GRANDHEIST Link to comment Share on other sites More sharing options...
jedijosh920 Posted January 21, 2016 Share Posted January 21, 2016 Yeah. Maybe it's RAGE, but slim chance. Link to comment Share on other sites More sharing options...
GRANDHEIST Posted January 22, 2016 Author Share Posted January 22, 2016 (edited) What do you have for parameters? And what is the result for you?? Edited January 24, 2016 by GRANDHEIST Link to comment Share on other sites More sharing options...
GRANDHEIST Posted January 24, 2016 Author Share Posted January 24, 2016 ? Link to comment Share on other sites More sharing options...
GRANDHEIST Posted January 29, 2016 Author Share Posted January 29, 2016 (edited) I got it working! *Sort of there is problem with bones, its not attaching to the second boneindex parameter... Edited January 29, 2016 by GRANDHEIST 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