Added markdown version of hookscripts.txt

Some edits to documents.
This commit is contained in:
NovaRain
2021-04-07 21:09:55 +08:00
parent acf859bebf
commit 278bfdc841
3 changed files with 906 additions and 17 deletions
+2 -2
View File
@@ -753,8 +753,8 @@ int ret0 - overrides the roll result
HOOK_BESTWEAPON (hs_bestweapon.int)
Runs when the game (AI) decides which weapon is the best while searching the inventory for a weapon to equip in combat.
This is also runs when the player presses the "Use Best Weapon" button on the party member control panel.
Runs when the AI decides which weapon is the best while searching the inventory for a weapon to equip in combat.
This also runs when the player presses the "Use Best Weapon" button on the party member control panel.
Critter arg0 - the critter searching for a weapon
Item arg1 - the best weapon chosen from two items