does this function exist to script a critter to use the skill?i looked through the fo2 editor doc,cannot find one
-------------------------------------------
HOOK_USESKILL (hs_useskill.int)
Runs when using any skill on any object.
This is fired before the default handlers are called, which you can override. In this case you should write your own skill use handler entirely, or otherwise nothing will happen (this includes fade in/fade out, time lapsing and messages - all of this can be scripted; to get vanilla text messages - use message_str_game() along with sprintf()).
Suggested use - override first aid/doctor skills to buff/nerf them, override steal skill to disallow observing NPCs inventories in some cases.
Doesn't seem to run when lock picking.
Critter arg1 - The user critter
Obj arg2 - The target object
int arg3 - skill being used
int arg4 - skill bonus from items such as first aid kits
int ret1 - overrides hard-coded handler (-1 - use engine handler, any other value - override)
-------------------------------------------