Heyo! Is there any chance that the custom NPC devices could support Verse events from the existing Guard AI API in the future?
It would be awesome to listen to events such as SuspiciousEvent, AlertedEvent & TargetLostEvent on custom NPC devices using the Guard type.
This would be game changing and would allow for fully custom Guard NPCs (IK rigged characters + custom event based behaviour) and I’m sure many maps would benefit from this!
Yeah I vote for this too, just finished the Stronghold tutorial and trying to adapt some of those features to npc_spawner has brought to my attention this issue just today. I noticed that in the digest we have Eliminated event and InInstigator (to respond to damaged), but no way to get the Alerted or Suspicious events. Possibly we could hack together using GetViewRotation and GetViewLocation and check that against player location but just like using a distance check I don’t think it will allow for lineofsight…
One would think GetNPCBehavior would return more than just the agent or allow ALL the same events from the Guard Spawner to the NPC spawner. The limitations of the npc spawner are terrible and even custom writing behavior is limited as we don’t have any way to write advanced stuff and can’t access half the events or functions that are on the guards that we are recommended to build on-top of.