I’m trying to fill out my level with some more randomized elements, such as a way to spawn soldiers on the level randomly in certain places at runtime. I tried setting up a logic case/ npc_template_maker setup where npcs were supposed to spawn close to the player but out of their line of sight. However, the game didn’t seem to respect player LOS and spawned with no regard for the player. Has anyone tried something like this and know how to do it? I found video tutorials on how to make a random spawn timer, but not spawning in a group of random spawnpoints.
If need be I can always just put a soldier in the location and have a patrol output on spawn so the soldier is in a different place each time, but I’d like to have a bit more randomization than that if I can.