respawn toggle

toggling respawn,  auto parachute height changer changer, fixed issue with characterparts, fixed lategame on s8, added cheat commands
This commit is contained in:
Milxnor
2023-06-23 15:00:53 -04:00
parent a85d1942b6
commit 0ca1350d92
19 changed files with 1264 additions and 1050 deletions

View File

@@ -152,20 +152,20 @@ TScriptInterface<UFortSafeZoneInterface> AFortGameStateAthena::GetSafeZoneInterf
return ScriptInterface;
}
UFortPlaylist*& AFortGameStateAthena::GetCurrentPlaylist()
UFortPlaylistAthena*& AFortGameStateAthena::GetCurrentPlaylist()
{
static auto CurrentPlaylistInfoOffset = GetOffset("CurrentPlaylistInfo", false);
if (CurrentPlaylistInfoOffset == -1)
{
static auto CurrentPlaylistDataOffset = GetOffset("CurrentPlaylistData");
return Get<UFortPlaylist*>(CurrentPlaylistDataOffset);
return (Get<UFortPlaylistAthena*>(CurrentPlaylistDataOffset));
}
auto CurrentPlaylistInfo = this->GetPtr<FFastArraySerializer>(CurrentPlaylistInfoOffset);
static auto BasePlaylistOffset = FindOffsetStruct("/Script/FortniteGame.PlaylistPropertyArray", "BasePlaylist");
return *(UFortPlaylist**)(__int64(CurrentPlaylistInfo) + BasePlaylistOffset);
return (*(UFortPlaylistAthena**)(__int64(CurrentPlaylistInfo) + BasePlaylistOffset));
}
int AFortGameStateAthena::GetAircraftIndex(AFortPlayerState* PlayerState)