setup npc visuals

This commit is contained in:
2026-06-03 15:12:04 +03:00
parent fdb1366516
commit 11cc4ae538
34 changed files with 142 additions and 38 deletions
@@ -3,6 +3,7 @@
#pragma once
#include "CoreMinimal.h"
#include "NPCType.h"
#include "Subsystems/WorldSubsystem.h"
#include "NakedDesire/Global/TimeOfDaySubsystem.h"
#include "NPCDirectorSubsystem.generated.h"
@@ -40,8 +41,9 @@ private:
ANPC* TakeFromPool();
void ReturnToPool(ANPC* NPC);
TSubclassOf<ANPC> PickWeightedClass() const;
ENPCType PickWeightedClass() const;
bool FindSpawnPoint(const FVector& Around, FVector& OutLocation) const;
TSubclassOf<ANPC> GetRandomNPCClass(TArray<TSubclassOf<ANPC>> InNPCClasses);
APawn* GetPlayerPawn() const;
UNPCDirectorConfig* GetConfig() const;