aboutsummaryrefslogtreecommitdiff
path: root/Northstar.CustomServers/mod/scripts/vscripts/_entitystructs.gnut
diff options
context:
space:
mode:
authorDinorush <62536724+Dinorush@users.noreply.github.com>2023-03-09 16:57:13 -0500
committerGitHub <noreply@github.com>2023-03-09 22:57:13 +0100
commitb54e03852d3afa75b50abbc5eb0569c89dfc2783 (patch)
treec147bb5ecdbc1e2fac11d93857c534e35a929c8c /Northstar.CustomServers/mod/scripts/vscripts/_entitystructs.gnut
parente1215c96997a0f348285055998254ba064787af5 (diff)
downloadNorthstarMods-b54e03852d3afa75b50abbc5eb0569c89dfc2783.tar.gz
NorthstarMods-b54e03852d3afa75b50abbc5eb0569c89dfc2783.zip
Add support for entity final damage callbacks (#578)
* Add support for entity final damage callbacks * Add final damage callback for non-Players/NPCs * Remove accidental duplicate code * Remove other unnecessary (duplicated) code * Implement uniboi suggestion
Diffstat (limited to 'Northstar.CustomServers/mod/scripts/vscripts/_entitystructs.gnut')
-rw-r--r--Northstar.CustomServers/mod/scripts/vscripts/_entitystructs.gnut1
1 files changed, 1 insertions, 0 deletions
diff --git a/Northstar.CustomServers/mod/scripts/vscripts/_entitystructs.gnut b/Northstar.CustomServers/mod/scripts/vscripts/_entitystructs.gnut
index 378ceae3..9dadea15 100644
--- a/Northstar.CustomServers/mod/scripts/vscripts/_entitystructs.gnut
+++ b/Northstar.CustomServers/mod/scripts/vscripts/_entitystructs.gnut
@@ -232,6 +232,7 @@ global struct ServerEntityStruct
SpawnPointData spawnPointData
array<void functionref( entity ent, var damageInfo )> entDamageCallbacks
+ array<void functionref( entity ent, var damageInfo )> entFinalDamageCallbacks
array<void functionref( entity ent, var damageInfo )> entPostDamageCallbacks
array<void functionref( entity titan, entity attacker )> entSegmentLostCallbacks
array<void functionref( entity ent, var damageInfo, float actualShieldDamage )> entPostShieldDamageCallbacks