mirror of
https://github.com/Milxnor/Project-Reboot-3.0.git
synced 2026-01-13 02:42:22 +01:00
i broke the whole project but its fine
complete pickup rewrite, idle pawns
This commit is contained in:
@@ -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");
|
||||
|
||||
Reference in New Issue
Block a user