This commit is contained in:
github-actions[bot]
2022-02-17 02:46:25 +00:00
parent 90d223173c
commit d51b0b0de4
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -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": {
+1 -1
View File
@@ -1 +1 @@
<?xml version="1.0" encoding="utf-8"?><feed xmlns="http://www.w3.org/2005/Atom" ><generator uri="https://jekyllrb.com/" version="3.6.2">Jekyll</generator><link href="/sfall/feed.xml" rel="self" type="application/atom+xml" /><link href="/sfall/" rel="alternate" type="text/html" /><updated>2022-01-20T05:43:12+00:00</updated><id>/sfall/</id><title type="html">sfall</title><subtitle>Sfall documentation</subtitle></feed>
<?xml version="1.0" encoding="utf-8"?><feed xmlns="http://www.w3.org/2005/Atom" ><generator uri="https://jekyllrb.com/" version="3.6.2">Jekyll</generator><link href="/sfall/feed.xml" rel="self" type="application/atom+xml" /><link href="/sfall/" rel="alternate" type="text/html" /><updated>2022-02-17T02:46:17+00:00</updated><id>/sfall/</id><title type="html">sfall</title><subtitle>Sfall documentation</subtitle></feed>
+1 -1
View File
@@ -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
</code></pre></div></div> <h2 id="deathanim2"> <a href="#deathanim2" class="anchor-heading" aria-labelledby="deathanim2"><svg viewBox="0 0 16 16" aria-hidden="true"><use xlink:href="#svg-link"></use></svg></a> DeathAnim2 </h2> <p><code class="highlighter-rouge">HOOK_DEATHANIM2</code> (hs_deathanim2.int)</p> <p>Runs after Fallout has calculated the death animation. Lets you set your own custom frame id, so more powerful than <code class="highlighter-rouge">HOOK_DEATHANIM1</code>, but performs no validation. When using <code class="highlighter-rouge">critter_dmg</code> function, this script will also run. In that case weapon pid will be -1 and attacker will point to an object with <code class="highlighter-rouge">obj_art_fid == 0x20001F5</code>. Does not run for critters in the knockdown/out state.</p> <div class="highlighter-rouge"><div class="highlight"><pre class="highlight"><code>Item arg0 - The pid of the weapon performing the attack. (May be -1 if the attack is unarmed)
</code></pre></div></div> <h2 id="deathanim2"> <a href="#deathanim2" class="anchor-heading" aria-labelledby="deathanim2"><svg viewBox="0 0 16 16" aria-hidden="true"><use xlink:href="#svg-link"></use></svg></a> DeathAnim2 </h2> <p><code class="highlighter-rouge">HOOK_DEATHANIM2</code> (hs_deathanim2.int)</p> <p>Runs after Fallout has calculated the death animation. Lets you set your own custom frame id, so more powerful than <code class="highlighter-rouge">HOOK_DEATHANIM1</code>, but performs no validation. When using <code class="highlighter-rouge">critter_dmg</code> function, this script will also run. In that case weapon pid will be -1 and attacker will point to an object with <code class="highlighter-rouge">obj_art_fid == 0x20001F5</code>. Does not run for critters in the knockdown/out state.</p> <div class="highlighter-rouge"><div class="highlight"><pre class="highlight"><code>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