Alanedelawn Posted July 16, 2018 Share Posted July 16, 2018 I want to take the files from the MY EYES mod and make it so they only play when the legs/head are hit(%chance) or crippled(guaranteed chance), as opposed to playing anytime you are hit/take damage. the mod in its original state seems to just be a voice line replacement. So, I can only assume ill have to write a script from the ground up? Link to comment Share on other sites More sharing options...
EPDGaffney Posted July 16, 2018 Share Posted July 16, 2018 You need to make an event handler with the OnHit block:https://geckwiki.com/index.php/SetEventHandler This has all possible event handler blocks (except the ones JIP made available as their own functions, which you will not be using here). Check the bottom of the page for a link to a tutorial on event handling.https://geckwiki.com/index.php/Event_Handling You'll need to use these two functions in your UDF script:https://geckwiki.com/index.php/GetHitLocationhttps://geckwiki.com/index.php/GetHitLimbDamage Confused? Good. Come back to me with something and I'll fix it for you when I can. Link to comment Share on other sites More sharing options...
Recommended Posts