Check arbitrary NPC conditions
Posted: Fri Sep 23, 2022 8:46 am
Hi Tony, hope you are doing well!
I am currently working on my generic NPCs. That is, NPCs that hold no big purpose in the game besides making the world feel alive.
My NPCs patrol around and can have different states (crying, dancing, talking etc.).
Is there a simple way to simply check for the NPC state? I was going to write a custom sequencer script, but don't see it working since there is seemingly no method of sequencer scripts to return a value.
As I stated, these NPCs are really generic. I wouldn't want to assign a unique actor for each NPC I have roaming around.
Any tips on my situation?
I am currently working on my generic NPCs. That is, NPCs that hold no big purpose in the game besides making the world feel alive.
My NPCs patrol around and can have different states (crying, dancing, talking etc.).
Is there a simple way to simply check for the NPC state? I was going to write a custom sequencer script, but don't see it working since there is seemingly no method of sequencer scripts to return a value.
As I stated, these NPCs are really generic. I wouldn't want to assign a unique actor for each NPC I have roaming around.
Any tips on my situation?