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:
Milxnor
2023-05-14 23:14:36 -04:00
parent ec30c7ecf8
commit 94beb39a4f
28 changed files with 355 additions and 130 deletions

View File

@@ -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);