23 UPROPERTY(BlueprintAssignable, Category=
"AI Spawn")
24 FOnAISpawned OnAISpawned;
25 UPROPERTY(BlueprintAssignable, Category="AI Spawn")
26 FOnFinishedSpawning OnFinishedSpawning;
32 UFUNCTION(BlueprintCallable, Category="AI Spawn")
33 void AIDeath(AActor* OwningActor,
EDeathType DeathType, AActor* DeathCauser, AController* DeathInstigator);
34 UFUNCTION(BlueprintCallable, Category="AI Spawn")
38 virtual void BeginPlay()
override;
39 virtual void OnConstruction(
const FTransform& Transform)
override;
43 UPROPERTY(VisibleAnywhere, BlueprintReadOnly, Category=
"AI Tool Kit")
44 class USceneComponent* SceneRoot;
45 UPROPERTY(VisibleAnywhere, BlueprintReadOnly, Category="AI Tool Kit")
46 class UBillboardComponent* PreviewIcon;
47 UPROPERTY(VisibleAnywhere, BlueprintReadOnly, Category="AI Tool Kit")
48 class USphereComponent* TriggerAreaComponent;
49 UPROPERTY(VisibleAnywhere, BlueprintReadOnly, Category="AI Tool Kit")
50 class USphereComponent* SpawnAreaComponent;
53 UPROPERTY(EditAnywhere, BlueprintReadWrite, Category="AI Tool Kit|Spawner")
54 float SpawnRadius = 400.0f;
56 UPROPERTY(EditAnywhere, BlueprintReadWrite, Category="AI Tool Kit|Spawner")
57 float SpawnDistance = 2000.0f;
58 UPROPERTY(EditAnywhere, BlueprintReadWrite, Category="AI Tool Kit|Spawner")
60 UPROPERTY(EditAnywhere, BlueprintReadWrite, Category="AI Tool Kit|Debugging")
61 bool bDebuggingMode = false;
63 UPROPERTY(EditAnywhere, BlueprintReadWrite, Category="AI Tool Kit|Characters")
64 TArray<APawn*> SpawnedAI;
66 UPROPERTY(EditAnywhere, BlueprintReadWrite, Category="AI Tool Kit|Spawner")
67 float SpawnDelayCheck = 2.0f;
71 FVector GetRandomSpawnLocation(TArray<FVector>& Locations);
73 FVector GetRandomSpawnLocationInArea(TArray<FVector>& Locations);
75 bool IsPointInsideSphere(const FVector&
Point, const USphereComponent* Sphere);
77 void CheckAISpawnData();
79 void RemoveVisualizers() const;
80 void SetRandomNumber();
85 FTimerHandle InitialDelayTimerHandle;
86 FTimerHandle NextSpawnTimerHandle;
87 FTimerHandle DestroyTimerHandle;
89 int32 LastUsedLocationIndex = -1;
UCLASS(Blueprintable, BlueprintType, ClassGroup=(BucciGames), meta=(BlueprintSpawnableComponent)) class CHATSYSTEM_API UChatSystemComponent
Definition ChatSystemComponent.h:13