diff --git a/assets/js/search-data.json b/assets/js/search-data.json index d65b4a38..c1093cff 100644 --- a/assets/js/search-data.json +++ b/assets/js/search-data.json @@ -400,7 +400,7 @@ },"57": { "doc": "Hook types", "title": "CombatTurn", - "content": "HOOK_COMBATURN (hs_combatturn.int) . Runs before and after each turn in combat (for both PC and NPC). int arg0 - event type: 1 - start of turn 0 - normal end of turn -1 - combat ends abruptly (by script or by pressing Enter during PC turn) -2 - combat ends normally (hook always runs at the end of combat) Critter arg1 - critter doing the turn bool arg2 - 1 at the start/end of the player's turn after loading a game saved in combat mode, 0 otherwise int ret0 - pass 1 at the start of turn to skip the turn, pass -1 at the end of turn to force end of combat . ", + "content": "HOOK_COMBATURN (hs_combatturn.int) . Runs before and after each turn in combat (for both PC and NPC). int arg0 - event type: 1 - start of turn 0 - normal end of turn -1 - combat ends abruptly (by script or by pressing Enter during PC turn) -2 - combat ends normally (hook always runs at the end of combat) Critter arg1 - critter doing the turn int arg2 - 1 at the start/end of the player's turn after loading a game saved in combat mode, 0 otherwise int ret0 - pass 1 at the start of turn to skip the turn, pass -1 at the end of turn to force end of combat . ", "url": "/sfall/hook-types/#combatturn", "relUrl": "/hook-types/#combatturn" diff --git a/feed.xml b/feed.xml index e8824254..f374eda6 100644 --- a/feed.xml +++ b/feed.xml @@ -1 +1 @@ -Jekyll2023-10-02T00:50:20+00:00/sfall/feed.xmlsfallSfall documentation \ No newline at end of file +Jekyll2023-10-05T02:10:05+00:00/sfall/feed.xmlsfallSfall documentation \ No newline at end of file diff --git a/hook-types/index.html b/hook-types/index.html index b0eb258a..995649aa 100644 --- a/hook-types/index.html +++ b/hook-types/index.html @@ -96,7 +96,7 @@ int ret4 - The amount of knockback to the target -1 - combat ends abruptly (by script or by pressing Enter during PC turn) -2 - combat ends normally (hook always runs at the end of combat) Critter arg1 - critter doing the turn -bool arg2 - 1 at the start/end of the player's turn after loading a game saved in combat mode, 0 otherwise +int arg2 - 1 at the start/end of the player's turn after loading a game saved in combat mode, 0 otherwise int ret0 - pass 1 at the start of turn to skip the turn, pass -1 at the end of turn to force end of combat

DeathAnim1

HOOK_DEATHANIM1 (hs_deathanim1.int)

Runs before Fallout tries to calculate the death animation. Lets you switch out which weapon Fallout sees.

Does not run for critters in the knockdown/out state.

int     arg0 - The pid of the weapon performing the attack. (May be -1 if the attack is unarmed)