diff --git a/assets/js/search-data.json b/assets/js/search-data.json index 58c993be..467fd0aa 100644 --- a/assets/js/search-data.json +++ b/assets/js/search-data.json @@ -355,7 +355,7 @@ },"59": { "doc": "Hook types", "title": "DeathAnim2", - "content": "HOOK_DEATHANIM2 (hs_deathanim2.int) . Runs after Fallout has calculated the death animation. Lets you set your own custom frame id, so more powerful than HOOK_DEATHANIM1, but performs no validation. When using critter_dmg function, this script will also run. In that case weapon pid will be -1 and attacker will point to an object with obj_art_fid == 0x20001F5. Does not run for critters in the knockdown/out state. Item arg0 - The pid of the weapon performing the attack. (May be -1 if the attack is unarmed) Critter arg1 - The attacker Critter arg2 - The target int arg3 - The amount of damage int arg4 - The death anim id calculated by Fallout int ret0 - The death anim id to override with . ", + "content": "HOOK_DEATHANIM2 (hs_deathanim2.int) . Runs after Fallout has calculated the death animation. Lets you set your own custom frame id, so more powerful than HOOK_DEATHANIM1, but performs no validation. When using critter_dmg function, this script will also run. In that case weapon pid will be -1 and attacker will point to an object with obj_art_fid == 0x20001F5. 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) Critter arg1 - The attacker Critter arg2 - The target int arg3 - The amount of damage int arg4 - The death anim id calculated by Fallout int ret0 - The death anim id to override with . ", "url": "/sfall/hook-types/#deathanim2", "relUrl": "/hook-types/#deathanim2" },"60": { diff --git a/feed.xml b/feed.xml index 91e9c1d3..f1e271ec 100644 --- a/feed.xml +++ b/feed.xml @@ -1 +1 @@ -Jekyll2022-01-20T05:43:12+00:00/sfall/sfallSfall documentation \ No newline at end of file +Jekyll2022-02-17T02:46:17+00:00/sfall/sfallSfall documentation \ No newline at end of file diff --git a/hook-types/index.html b/hook-types/index.html index 00dd8637..16be293d 100644 --- a/hook-types/index.html +++ b/hook-types/index.html @@ -106,7 +106,7 @@ int arg3 - The amount of damage int arg4 - Unused, always -1. Use this if you are using the same procedure for HOOK_DEATHANIM1 and HOOK_DEATHANIM2 (since sfall 4.1/3.8.24) int ret0 - The pid of an object to override the attacking weapon with -

DeathAnim2

HOOK_DEATHANIM2 (hs_deathanim2.int)

Runs after Fallout has calculated the death animation. Lets you set your own custom frame id, so more powerful than HOOK_DEATHANIM1, but performs no validation. When using critter_dmg function, this script will also run. In that case weapon pid will be -1 and attacker will point to an object with obj_art_fid == 0x20001F5. Does not run for critters in the knockdown/out state.

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

DeathAnim2

HOOK_DEATHANIM2 (hs_deathanim2.int)

Runs after Fallout has calculated the death animation. Lets you set your own custom frame id, so more powerful than HOOK_DEATHANIM1, but performs no validation. When using critter_dmg function, this script will also run. In that case weapon pid will be -1 and attacker will point to an object with obj_art_fid == 0x20001F5. 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)
 Critter arg1 - The attacker
 Critter arg2 - The target
 int     arg3 - The amount of damage