mirror of
https://github.com/sfall-team/sfall.git
synced 2026-07-27 16:52:34 -07:00
deploy: 3f2f3560ad
This commit is contained in:
@@ -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": {
|
||||
|
||||
Reference in New Issue
Block a user