Open ghost opened 10 years ago
We could (and eventually will) add this kind of utility function in the CLI, but it isn't possible in ScoutScript, since the Scout doesn't know what id
to give itself, and/or what the mesh key is. The Scout ids have to be integers (can't be random unique strings) which are incremented and tracked outside of the mesh (in Carlo).
I find it annoying that I have to manually change mesh.config(, troopId, channel) to each of my scouts. Can we have a mesh.joinTroop(troopId) implemented so we can just join any troop and have a unique scoutId assigned to each scouts?