diff options
author | Dinorush <62536724+Dinorush@users.noreply.github.com> | 2023-03-09 16:57:13 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-03-09 22:57:13 +0100 |
commit | b54e03852d3afa75b50abbc5eb0569c89dfc2783 (patch) | |
tree | c147bb5ecdbc1e2fac11d93857c534e35a929c8c /Northstar.CustomServers/mod/scripts/vscripts/_entitystructs.gnut | |
parent | e1215c96997a0f348285055998254ba064787af5 (diff) | |
download | NorthstarMods-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.gnut | 1 |
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 |