Please select what you are reporting on:
UEFN
What Type of Bug are you experiencing?
AI
Summary
This is in itself not really an issue. The problem is, that in my game, I have one central area for NPC’s, that should be spawned for a tower-defense style game, as I don’t want to copy paste the same NPC spawners for every map. My solution so far, has been to spawn the NPC, have a function that then handles when a mob spawns, and teleports it to the desired position.
This works amazingly, but I realized that when my map was far away, the SpawnedEvent
wouldn’t run, which I presume is because the NPC’s don’t actually spawn until you’re in a certain radius of the NPC spawner - which totally makes sense, but it a bit of a worry for the scalability of my game.
Steps to Reproduce
- Place an NPC spawner device
- Spawn your player far away from the NPC spawner (NPC spawner should at least be out of render distance)
- Hook up a button/trigger to spawn the NPC
- Do something on the
Spawner.SpawnedEvent
event (print in verse, show a hud etc.)
Expected Result
The SpawnedEvent
will actually run - the character doesn’t have to physically spawn (because it’s not in render distance), but it would be really nice if it fired the event signal.
Observed Result
The SpawnedEvent
does not run.
Platform(s)
PC
Additional Notes
Not the biggest issue at all, just a heads up