BP_LPSP_AI_Spawner
Introduction
The BP_LPSP_AI_Spawner takes care of spawning all the necessary agents in the asset. It basically handles the spawning of characters. The only thing it does is that, in a fancy way.
If you seek to access the BP_LPSP_AI_Spawner, it is conveniently located at the following path: InfimaGames/LowPolyShooterPack/Core/AI/BP_LPSP_AI_Spawner.
Editable Variables
Amount:
This variable determines the number of agents that are spawned at once.
AI Controller:
The type of AI Controller to use for the spawned agents.
Spawn Class:
This variable determines the type of AI pawn to spawn.
Spawn Point Class:
This variable determines the type of actor that represents a "Spawn Point", which refers to the locations where the spawner can spawn an agent.
Maximum Spawning Radius:
This variable determines how far (in terms of radius) from a Spawn Point an Agent can be spawned.
Private Variables
Units:
This variable stores a reference to all spawned agents.
Functions
Get Random Spawn Transform:
This function returns a random transform that can be used to spawn an agent.
Spawn:
This method spawns all agents.
Try Respawn:
This method checks whether agents need to be respawned, and if so, spawns them.
Last updated
Was this helpful?
