Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature Request: implement mesh.join(troopId)? #192

Open
ghost opened this issue Oct 9, 2014 · 1 comment
Open

Feature Request: implement mesh.join(troopId)? #192

ghost opened this issue Oct 9, 2014 · 1 comment

Comments

@ghost
Copy link

ghost commented Oct 9, 2014

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?

@jingman
Copy link
Collaborator

jingman commented Oct 9, 2014

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).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant