Tutorial: Your First 60 Minutes with StateTree

OnTargetPerceptionInfoUpdated

It only detects the player as a friendly (when affiliation Friendly is checked)

Sending the ‘Danger’ State Tree Event, on the Limb state ‘Danger’ the children are never selected - not even a dummy delay and debug test task.

The tease about EQS is less exciting when this does not work.

Maybe it would work if I simply duplicated the character instead as there may be a problem with this TeamId. It’s certainly confusing enough with this short cut version of a tutorial. But none of this seems easily exposed - like set the player’s team or even see the variable, or the AI Perception Component’s ‘Get Perceived Hostile Actors’ array and how to use that other than it only ever returning a blank.

State Tree is constantly running the condition check, which does not seem sensible to have this limb activated at all times.

I can get it to the FLEE state by transitioning to flee from PEACEFUL, but it never enters WATCH from the assess state.
Probably because the ‘Get Perceived Hostile Actors’ array is never set to anything other than None - if we set this soemwhere I missed it even after several re readings.

I have a project with Limb states that actually work, but it does not involve the AIPerception Component.

Which I now trust as much as I trust the UPawnSensing Component.