I know I asked on the discord, but I feel like this needs a longer explanation with more pics than discord easily allows for. Over the weekend I spent some time messing with hook scripts to see if I could figure out how they worked. I think I have a basic understanding of them, but the TOHIT hook was giving me some weird values that I'm not understanding. According to the sfall sight, this function should show me the To-Hit chance for a critter to make an attack. Code: HOOK_TOHIT (hs_tohit.int) Runs when Fallout is calculating the chances of an attack striking a target. Runs after the hit chance is fully calculated normally, including applying the 95% cap. int arg0 - The hit chance (capped) critter arg1 - The attacker critter arg2 - The target of the attack The hit chance? That sounds like a good way to test how Armor Class works, so I figured I'd write a script to catch the to hit chance for a critter's attack and display it, then change my armor and see how much it helps. The example on the hooks page seemed simple enough, so I basically copied it. Here's the original: Code: procedure tohit_hook_handler begin display_msg("Modifying hit_hook " + get_sfall_arg); set_hit_chance_max(100); set_sfall_return(100); end procedure start begin if game_loaded then begin register_hook_proc(HOOK_TOHIT, tohit_hook_handler); end end And here's what I came up with and attached to the critter I'm testing. To be clear, I tried a bunch of different variations through friday's and saturday's stream, but I ended up just using this one to get the most consistent and simplest results. Code: procedure tohit_hook_handler begin display_msg("Modifying hit_hook " + get_sfall_arg + ", " + get_sfall_arg + ", " + get_sfall_arg); end procedure start begin if game_loaded then begin register_hook_proc(HOOK_TOHIT, tohit_hook_handler); end end procedure combat_p_proc begin call tohit_hook_handler; end These are the results I'm getting: I realize this isn't a global script, but everything described on the global scripts page makes it sound intermittent, and I just want the result from a simple engine calculation. If making a global script will give me the results I want then I'll keep trying, but I feel like this shouldn't be that complicated. As you can see above, I consistently get these results, either a 0 or a 1 for the first "get_sfall_arg", a seemingly random 9 digit number for the second "get_sfall_arg", and consistently a 0 for the third. As I understand it, the first get_sfall_arg should show me the hit chance...but it clearly doesn't in my script, and I have no idea what the other two are either. Is my understanding correct? The HOOK_TOHIT page mentions hs_tohit.int, which I don't have and haven't yet been able to find in either the sfall modders pack, sfall itself, or the RP mod or UP mod, at least not the versions I have. But the hooks page says not to use it, which is fine by me if I can get this one to work, but neither explain what it did before that it doesn't do now...which makes me wonder if it wasn't supposed to parse the results or something? NovaRain did say it doesn't need to be named hs_tohit.int anymore, but if it's not then what script do I need if I need one? If possible, I would ideally like to just run the engine calculation and get a result to repeatedly update to display without entering combat. But I'm not sure if I it's possible to get aiming results without calling the combat module and entering combat, or how I would do so if it is. Any help is appreciated Thank you!