i broke the whole project but its fine

complete pickup rewrite, idle pawns
This commit is contained in:
Milxnor
2023-05-07 17:34:24 -04:00
parent 5e92f2e90b
commit 3405177d20
51 changed files with 1439 additions and 338 deletions

View File

@@ -48,6 +48,16 @@ void AFortPawn::SetHealth(float NewHealth)
this->ProcessEvent(SetHealthFn, &NewHealth);
}
void AFortPawn::SetMaxHealth(float NewHealthVal)
{
static auto SetMaxHealthFn = FindObject<UFunction>("/Script/FortniteGame.FortPawn.SetMaxHealth");
if (!SetMaxHealthFn)
return;
this->ProcessEvent(SetMaxHealthFn, &NewHealthVal);
}
void AFortPawn::SetShield(float NewShield)
{
static auto SetShieldFn = FindObject<UFunction>("/Script/FortniteGame.FortPawn.SetShield");