TheRealHughJanus Posted June 4, 2024 Share Posted June 4, 2024 In the script hooks for GTA V and RDR2 there are functions for checking if bones have been hit. How can we achieve that in GTA IV? Link to comment https://gtaforums.com/topic/997382-how-can-i-check-if-an-npc-has-been-hit-in-a-certain-bone/ Share on other sites More sharing options...
EdEdEdEd Posted August 7, 2024 Share Posted August 7, 2024 Hey you're the creator of PDO right? Cool! Anyways, there is a native function called "GET_CHAR_LAST_DAMAGE_BONE" that you can use to check which bone was last hit/damaged. I'm not too familiar with it myself as I'm new to modding (or coding in general) but I've been tinkering with a mod that uses it: https://gamebanana.com/mods/37353. Link to comment https://gtaforums.com/topic/997382-how-can-i-check-if-an-npc-has-been-hit-in-a-certain-bone/#findComment-1072417345 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