I'm rather new to new vegas modding and have been trying to make a feature where the player needs a certain skill amount in order to be able to disarm mines, with the amount of skill depending on what kind of mine the player is trying to disarm: plasma, frag, bottlecap, etc.
I've managed to create a script that does this skill check and set it to run with an "OnActivate" event handler on mines, and the script runs fine but the problem is I need to be able to prevent the player from activating mines the default way, ie disarming them regardless of skill. It seems you can't set a script with an OnActivate block to override this behavior on projectiles so I'm wondering how else I might be able to do this? Any help is appreciated.