From b833c63825cf17977d934610ae373aa32e06001c Mon Sep 17 00:00:00 2001 From: Kevin Poretti Date: Thu, 12 Jan 2023 21:23:28 -0500 Subject: [PATCH] Implement "stomp on player to kill them" logic --- GravityStomp/Content/Characters/BP_GSCharacter.uasset | 4 ++-- .../Source/GravityStompGame/GameModes/GSGameModeBase.h | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/GravityStomp/Content/Characters/BP_GSCharacter.uasset b/GravityStomp/Content/Characters/BP_GSCharacter.uasset index d41c625..24c6179 100644 --- a/GravityStomp/Content/Characters/BP_GSCharacter.uasset +++ b/GravityStomp/Content/Characters/BP_GSCharacter.uasset @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:9fe1b1cf455ddcc5020ad3a34569f34be4bf1403d3619a0d6a1bc36ebf27388e -size 36747 +oid sha256:d4b4e8c580ba862c24b93e82c08dabaf8531627c9a2a73d563c35e115692b0d4 +size 134809 diff --git a/GravityStomp/Source/GravityStompGame/GameModes/GSGameModeBase.h b/GravityStomp/Source/GravityStompGame/GameModes/GSGameModeBase.h index ff6c782..6f3318e 100644 --- a/GravityStomp/Source/GravityStompGame/GameModes/GSGameModeBase.h +++ b/GravityStomp/Source/GravityStompGame/GameModes/GSGameModeBase.h @@ -72,6 +72,7 @@ public: /** * Handles updating score and informing appropriate clients when one player kills another */ + UFUNCTION(BlueprintCallable) virtual void OnPlayerKilled(AGSPlayerController* Killer, AGSPlayerController* Victim); /**