Reply To: events

NodeCanvas Forums General Discussion events Reply To: events

#15303
Gavalakis
Keymaster

Hey,
This is a bit of a vague question and can be done in many ways 🙂
But, in general, you will need to store the “attacker”, then inform all other creatures that their “friend” is attacked and who the attacker is.
This can probably be done easier with a global event (either string-based or Signal), and have the event also carry the “attacker” information as an argument (so that friends know whom the attacker is and attack it).
I hope this helps 🙂

Join us on Discord: https://discord.gg/97q2Rjh