target_has_trait 
Gates child on the atom held in a blackboard key having a given trait. Use "invert": true to gate on the trait being absent.
Vars | |
| key | Blackboard key holding the atom to check. |
|---|---|
| observed_target | Tracked so we can rebind signals when the key changes. |
| trait | The trait the target must have for the child to run. |
Procs | |
| on_target_key_changed | Fires when the blackboard key changes. Rebinds trait signals to the new target and re-evaluates. |
Var Details
key 
Blackboard key holding the atom to check.
observed_target 
Tracked so we can rebind signals when the key changes.
trait 
The trait the target must have for the child to run.
Proc Details
on_target_key_changed
Fires when the blackboard key changes. Rebinds trait signals to the new target and re-evaluates.