Give bot skins

This commit is contained in:
Gray
2024-03-19 13:11:02 -04:00
parent 54b2383124
commit 5bfe3a6179
19 changed files with 388 additions and 227 deletions

View File

@@ -789,7 +789,7 @@ void ServerCheatHook(AFortPlayerControllerAthena* PlayerController, FString Msg)
Transform.Translation = Loc;
Transform.Scale3D = FVector(1, 1, 1);
auto NewActor = Bots::SpawnBot(Transform);
auto NewActor = Bots::SpawnBot(Transform, Pawn);
if (!NewActor)
{
@@ -801,7 +801,8 @@ void ServerCheatHook(AFortPlayerControllerAthena* PlayerController, FString Msg)
}
}
SendMessageToConsole(PlayerController, L"Summoned!");
if (AmountSpawned > 0)
SendMessageToConsole(PlayerController, L"Summoned!");
}
else if (Command == "sethealth")
{