mirror of
https://github.com/Milxnor/Project-Reboot-3.0.git
synced 2026-01-13 02:42:22 +01:00
i havehomework to do
fix issue with teams, add loot, fix building bug, added something properly, fix issue with ai, add end event c2 but doesnt really work
This commit is contained in:
@@ -175,6 +175,28 @@ public:
|
||||
return Get<AFortVolume*>(CreativePlotLinkedVolumeOffset);
|
||||
}
|
||||
|
||||
void ClientClearDeathNotification() // actually in zone
|
||||
{
|
||||
auto ClientClearDeathNotificationFn = FindFunction("ClientClearDeathNotification");
|
||||
|
||||
if (ClientClearDeathNotificationFn)
|
||||
this->ProcessEvent(ClientClearDeathNotificationFn);
|
||||
}
|
||||
|
||||
void RespawnPlayerAfterDeath(bool bEnterSkydiving)
|
||||
{
|
||||
static auto RespawnPlayerAfterDeathFn = FindObject<UFunction>("/Script/FortniteGame.FortPlayerControllerAthena.RespawnPlayerAfterDeath");
|
||||
|
||||
if (RespawnPlayerAfterDeathFn)
|
||||
{
|
||||
this->ProcessEvent(RespawnPlayerAfterDeathFn, &bEnterSkydiving);
|
||||
}
|
||||
else
|
||||
{
|
||||
// techinally we can remake this as all it really does on older versions is clear deathinfo
|
||||
}
|
||||
}
|
||||
|
||||
static void StartGhostModeHook(UObject* Context, FFrame* Stack, void* Ret); // we could native hook this but eh
|
||||
static void EndGhostModeHook(AFortPlayerControllerAthena* PlayerController);
|
||||
static void EnterAircraftHook(UObject* PC, AActor* Aircraft);
|
||||
|
||||
Reference in New Issue
Block a user