In Dungeon Arena, is there any way to communicate between your base and hero?


#1

In Dungeon Arena, is there any way to communicate between your base and hero?

Some form of signalling so they can adjust their behaviour? Like telling them to listen for something.

I guess they can watch each other, but that cant capture some logic I’d like.


#2

Since they both have separate loops, it seems like setting a variable on one and checking in the other would be as good as it gets?

I don’t think you can trigger any changes to your hero or base outside of their action loops.


#3

You won’t be able to check or set variables on other units, though–part of the hacking protection. In Brawlwood, you can use say() and hear() callbacks to communicate, but Dungeon Arena is a simplified version, so we didn’t add the hear() callbacks to the hero or base. Sounds like they might come in handy. If you try Brawlwood out, let me know if that’s more what you had in mind.


#4

hear is exactly what I had in mind. :smile:

I’m looking forward to seeing how to use it :smile: