aggro_emote
A component for ai-controlled atoms which plays a sound if they switch to a living target which they can attack
Vars | |
emote_chance | Chance to play an emote |
---|---|
emote_list | List of emotes to play |
living_only | If we want to limit emotes to only play at mobs |
minimum_chance | Minimum chance to play an emote |
subtract_chance | Chance to subtract every time we play an emote (permanently) |
target_key | Blackboard key in which target data is stored |
Procs | |
on_target_changed | When we get a new target, see if we want to bark at it |
Var Details
emote_chance
Chance to play an emote
emote_list
List of emotes to play
living_only
If we want to limit emotes to only play at mobs
minimum_chance
Minimum chance to play an emote
subtract_chance
Chance to subtract every time we play an emote (permanently)
target_key
Blackboard key in which target data is stored
Proc Details
on_target_changed
When we get a new target, see if we want to bark at it