mirror of
https://github.com/Milxnor/Project-Reboot-3.0.git
synced 2026-01-13 19:02:21 +01:00
artificial intelligence
proper *****, work on ai, organize some things
This commit is contained in:
@@ -69,6 +69,7 @@ extern inline bool bEnableBotTick = false;
|
||||
extern inline bool bEnableCombinePickup = false;
|
||||
extern inline int AmountOfBotsToSpawn = 0;
|
||||
extern inline bool bEnableRebooting = false;
|
||||
extern inline bool bEngineDebugLogs = false;
|
||||
|
||||
// THE BASE CODE IS FROM IMGUI GITHUB
|
||||
|
||||
@@ -515,6 +516,22 @@ static inline void MainUI()
|
||||
}
|
||||
*/
|
||||
|
||||
if (ImGui::Button("aaa"))
|
||||
{
|
||||
static auto Clasda = FindObject<UClass>(L"/Script/FortniteGame.FortMission_RiftSpawners");
|
||||
auto AllMissions = UGameplayStatics::GetAllActorsOfClass(GetWorld(), Clasda);
|
||||
|
||||
LOG_INFO(LogDev, "AllMissions.Num(): {}", AllMissions.Num());
|
||||
|
||||
for (int i = 0; i < AllMissions.Num(); i++)
|
||||
{
|
||||
auto Mission = AllMissions.at(i);
|
||||
|
||||
static auto bCalendarAllowsSpawningOffset = Mission->GetOffset("bCalendarAllowsSpawning");
|
||||
Mission->Get<bool>(bCalendarAllowsSpawningOffset) = true;
|
||||
}
|
||||
}
|
||||
|
||||
if (!bIsInAutoRestart && (Engine_Version < 424 && ImGui::Button("Restart")))
|
||||
{
|
||||
if (Engine_Version < 424)
|
||||
@@ -983,6 +1000,7 @@ static inline void MainUI()
|
||||
{
|
||||
ImGui::Checkbox("Looting Debug Log", &bDebugPrintLooting);
|
||||
ImGui::Checkbox("Swapping Debug Log", &bDebugPrintSwapping);
|
||||
ImGui::Checkbox("Engine Debug Log", &bEngineDebugLogs);
|
||||
}
|
||||
else if (Tab == SETTINGS_TAB)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user