Labeling players for multiplayer

So I don’t have indie so I can’t test this, but assuming this does not work here is another method. (btw huge downside to this new method is there is a 5 letter limit) I am assuming this method is inefficient so adjust whatever you want.

Ignore the 123456789, that was for testing
The number behavior needs to be replaced with a Player Count behavior. Also all the switches need to have bundles attached to them.


Converting the name to a number


Basically what this is doing is that every time a 9 place is used (9, 19, 29, 39, etc) I add “aaa” there, a word that shouldn’t be in anyone’s name. Then I add 9 to the beginning of every number so I know where to separate it. That is then all saved to a Shared behavior (It’s a Global in the image, but that’s because I don’t have Indie)


Converting the Numbers to text


Just listing out the numbers and separating them every time 9 is used. That is then put into a To Number and into the “One” input on a number list.

If you notice anything wrong please point it out. (I forgot to add this, but you need to add a way to separate the labels in the player object, that should be very easy to do) :llama:

5 Likes

Can I have the game link? (Sorry for reviving)

Yeah sure, though there are better ways of doing it. I made this after using Flowlab for about 5-6 months, most my examples are probably only decent after a year. Let me try to find it rn

1 Like

If possible, could you try making it again if you have the time? Sorry for asking.

1 Like

Yeah I’ll remaking it in the morning :+1: It’s almost 2 am for me currently

1 Like

Same, thanks! (can I have the link still pls?)

Yeah I’ll try to find it. Also I’m assuming this isn’t for multiplayer and is just for messaging text? If you’re looking for Multiplayer nametags I believe Briccentric has an example for that

1 Like

Yes its for multiplayer nametags
image

{"data":{"behavior":{"v":"2","nodes":[{"inputCount":0,"outputCount":1,"name":"Once","behaviorType":"logic.triggers.Once","x":-450,"y":0,"group":"","id":"b582a0fc78e19f4d","resetOnLevelStart":false},{"inputCount":3,"outputCount":1,"name":"Number","behaviorType":"logic.logic.Value","x":-90,"y":96,"group":"","id":"b5836d2acae4a245","startVal":1,"tag":"PLAYER COUNT","roundMode":1},{"inputCount":1,"outputCount":2,"name":"User Info","behaviorType":"logic.gameflow.UserInfo","x":-90,"y":0,"group":"","id":"b583d90f0ad35e4a"},{"inputCount":2,"outputCount":4,"name":"Router","behaviorType":"logic.logic.Router","x":90,"y":96,"group":"","id":"b5842828d1bd3b4d","notes":"Equal to the number of possible players. Make sure to use the actual Player Count behavior","n_o":1,"loop":true,"routes":4,"mode":0},{"inputCount":3,"outputCount":1,"name":"Switch","behaviorType":"logic.logic.Switch","x":270,"y":160,"group":"","id":"b5844e852eba5b45","_startVal":0,"dataType":1},{"inputCount":3,"outputCount":1,"name":"Switch","behaviorType":"logic.logic.Switch","x":270,"y":64,"group":"","id":"b5844f1313ab6642","_startVal":0,"dataType":1},{"inputCount":3,"outputCount":1,"name":"Switch","behaviorType":"logic.logic.Switch","x":270,"y":-32,"group":"","id":"b5844f8b46c06647","_startVal":0,"dataType":1},{"inputCount":3,"outputCount":1,"name":"Switch","behaviorType":"logic.logic.Switch","x":270,"y":-128,"group":"","id":"b58450331c49e542","_startVal":0,"dataType":1},{"delay":0,"count":1,"version":2,"inputCount":3,"outputCount":1,"name":"Timer","behaviorType":"logic.triggers.Timer","x":-270,"y":-96,"group":"","id":"b5852507e3a38b4d","notes":"Set to 0","n_o":1},{"inputCount":1,"outputCount":0,"name":"Name to Numbers","behaviorType":"logic.NodeGroup","x":450,"y":-128,"group":"","id":"b585c2c01565ea4f","isMenuItem":false},{"inputCount":0,"outputCount":1,"name":"Bundle Input","behaviorType":"logic.NodeGroupInput","x":-90,"y":-32,"group":"b585c2c01565ea4f","id":"b58609dc3f13704f","portId":"b585c2c01565ea4fi0","tag":"Name","dataType":1},{"inputCount":5,"outputCount":2,"name":"Text","behaviorType":"logic.data.TextBlock","x":90,"y":64,"group":"b585c2c01565ea4f","id":"b5866ce7ec92c243","startVal":""},{"inputCount":5,"outputCount":2,"name":"Text","behaviorType":"logic.data.TextBlock","x":90,"y":-64,"group":"b585c2c01565ea4f","id":"b5866d6c6261ae4a","startVal":""},{"delay":0,"count":1,"version":2,"inputCount":3,"outputCount":1,"name":"Timer","behaviorType":"logic.triggers.Timer","x":-90,"y":64,"group":"b585c2c01565ea4f","id":"b58699d78f4c904f"},{"inputCount":1,"outputCount":1,"name":"To Number","behaviorType":"logic.data.ToNumber","x":-270,"y":64,"group":"b585c2c01565ea4f","id":"b586bb872d7d3444"},{"inputCount":7,"outputCount":5,"name":"Text List","behaviorType":"logic.data.TextList","x":450,"y":-64,"group":"b585c2c01565ea4f","id":"b58737a32ca9af4b","startVal":["a","b","c","d","e","f","g","h","aaa","i","j","k","l","m","n","o","p","q","aaa","r","s","t","u","v","w","x","y","z","aaa","A","B","C","D","E","F","G","H","I","aaa","J","K","L","M","N","O","P","Q","R","aaa","S","T","U","V","W","X","Y","Z","-","aaa","_","@","#","!","$","%","^","&","*","aaa","1","2","3","4","5","6","7","8","aaa","9","/",".",","," "]},{"inputCount":1,"outputCount":2,"name":"Text List Each","behaviorType":"logic.data.ListEach","x":270,"y":-32,"group":"b585c2c01565ea4f","id":"b58a1e302d2ec346","delay":0},{"inputCount":5,"outputCount":2,"name":"Text","behaviorType":"logic.data.TextBlock","x":-270,"y":256,"group":"b585c2c01565ea4f","id":"b58bf847fc82e54a","startVal":""},{"inputCount":3,"outputCount":1,"name":"Number","behaviorType":"logic.logic.Value","x":630,"y":416,"group":"b585c2c01565ea4f","id":"b5903f8020fb0247","startVal":0,"roundMode":1},{"inputCount":1,"outputCount":1,"name":"To Number","behaviorType":"logic.data.ToNumber","x":-90,"y":256,"group":"b585c2c01565ea4f","id":"b59067bedb6d8f4a"},{"inputCount":5,"outputCount":2,"name":"Text","behaviorType":"logic.data.TextBlock","x":630,"y":-32,"group":"b585c2c01565ea4f","id":"b59723b6528b274c","startVal":"9"},{"inputCount":5,"outputCount":2,"name":"Text","behaviorType":"logic.data.TextBlock","x":630,"y":224,"group":"b585c2c01565ea4f","id":"b5977ce6269ce74c","startVal":"9"},{"inputCount":1,"outputCount":1,"name":"Text Length","behaviorType":"logic.data.TextLength","x":-90,"y":352,"group":"b585c2c01565ea4f","id":"b599c73e090f794c"},{"inputCount":3,"outputCount":1,"name":"Switch","behaviorType":"logic.logic.Switch","x":90,"y":256,"group":"b585c2c01565ea4f","id":"b59a0a16c3885a4b","_startVal":1,"dataType":2},{"gateVal":15,"mode":"greater than","inputCount":2,"outputCount":2,"name":"Filter","behaviorType":"logic.logic.Filter","x":90,"y":384,"group":"b585c2c01565ea4f","id":"b59a5bc6e3c02b45","notes":"5 letter cap","n_o":1},{"inputCount":3,"outputCount":1,"name":"Global","behaviorType":"logic.logic.Global","x":450,"y":256,"group":"b585c2c01565ea4f","id":"b5a31c0d90a14c45","notes":"Pretend this is a \"Share\" behavior","n_o":1,"tag":"Player Name 1:Number","version":2,"dataType":2},{"inputCount":0,"outputCount":0,"name":"Converting to Label","behaviorType":"logic.NodeGroup","x":630,"y":-128,"group":"","id":"b5a89179e1fc0e4b","isMenuItem":false},{"inputCount":3,"outputCount":1,"name":"Global","behaviorType":"logic.logic.Global","x":-360,"y":-192,"group":"b5a89179e1fc0e4b","id":"b5a8e71c4c0e3146","tag":"Player Name 1:Number","version":2,"dataType":2},{"inputCount":2,"outputCount":2,"name":"Text Compare","behaviorType":"logic.data.TextCompare","x":-180,"y":-64,"group":"b5a89179e1fc0e4b","id":"b5b0838af71cfb43","notes":"Set to A contains B. \"9\"","n_o":1,"hsv":"9","mode":1},{"inputCount":5,"outputCount":2,"name":"Text","behaviorType":"logic.data.TextBlock","x":-180,"y":-192,"group":"b5a89179e1fc0e4b","id":"b5b0974867e0934e","startVal":""},{"inputCount":1,"outputCount":2,"name":"Text List Each","behaviorType":"logic.data.ListEach","x":0,"y":-192,"group":"b5a89179e1fc0e4b","id":"b5b0bbb78f7b1c4d","delay":0},{"inputCount":5,"outputCount":2,"name":"Text","behaviorType":"logic.data.TextBlock","x":-360,"y":-96,"group":"b5a89179e1fc0e4b","id":"b5b1281756629743","startVal":""},{"delay":0,"count":1,"version":2,"inputCount":3,"outputCount":1,"name":"Timer","behaviorType":"logic.triggers.Timer","x":-540,"y":-96,"group":"b5a89179e1fc0e4b","id":"b5b130ac60a48649"},{"inputCount":7,"outputCount":5,"name":"Text List","behaviorType":"logic.data.TextList","x":0,"y":96,"group":"b5a89179e1fc0e4b","id":"b5b274e1539c3442","startVal":["a","b","c","d","e","f","g","h","aaa","i","j","k","l","m","n","o","p","q","aaa","r","s","t","u","v","w","x","y","z","aaa","A","B","C","D","E","F","G","H","I","aaa","J","K","L","M","N","O","P","Q","R","aaa","S","T","U","V","W","X","Y","Z","-","aaa","_","@","#","!","$","%","^","&","*","aaa","1","2","3","4","5","6","7","8","aaa","9","/",".",","," "]},{"inputCount":5,"outputCount":2,"name":"Text","behaviorType":"logic.data.TextBlock","x":-180,"y":256,"group":"b5a89179e1fc0e4b","id":"b5b31cb56ee70b44","startVal":""},{"comp_x":57,"comp_y":-3,"inputCount":4,"outputCount":4,"name":"Label","behaviorType":"logic.hud.Label","x":0,"y":256,"group":"b5a89179e1fc0e4b","id":"b5b34d159ef5624b","text":"Label","textColor":13481547,"fontName":"oduda","scale":10,"borderColor":0,"borderSize":0,"textAlign":"left","maxWidth":0,"version":2},{"inputCount":1,"outputCount":1,"name":"To Number","behaviorType":"logic.data.ToNumber","x":-180,"y":128,"group":"b5a89179e1fc0e4b","id":"b5b3e61bc94ab44c"},{"inputCount":5,"outputCount":2,"name":"Text","behaviorType":"logic.data.TextBlock","x":180,"y":-96,"group":"b5a89179e1fc0e4b","id":"b5b47f1d68749d44","startVal":""},{"inputCount":5,"outputCount":2,"name":"Text","behaviorType":"logic.data.TextBlock","x":360,"y":-96,"group":"b5a89179e1fc0e4b","id":"b5b4b29eebcf3545","startVal":""},{"inputCount":5,"outputCount":2,"name":"Text","behaviorType":"logic.data.TextBlock","x":360,"y":-224,"group":"b5a89179e1fc0e4b","id":"b5b4dbc37890494b","startVal":""},{"inputCount":2,"outputCount":2,"name":"Text Compare","behaviorType":"logic.data.TextCompare","x":-360,"y":128,"group":"b5a89179e1fc0e4b","id":"b5b5e725c1f3de46","notes":"Empty","n_o":1,"hsv":"","mode":0},{"inputCount":0,"outputCount":1,"name":"Always","behaviorType":"logic.triggers.Always","x":-540,"y":288,"group":"b5a89179e1fc0e4b","id":"b5bb92945813be48"},{"inputCount":1,"outputCount":1,"name":"Extractor","behaviorType":"logic.properties.Extractor","x":-360,"y":352,"group":"b5a89179e1fc0e4b","id":"b5bbafe56b2d7d40","targetId":0,"prop":"y"},{"inputCount":1,"outputCount":1,"name":"Extractor","behaviorType":"logic.properties.Extractor","x":-360,"y":256,"group":"b5a89179e1fc0e4b","id":"b5bbb0abc80c5a4e","targetId":0,"prop":"x"}],"links":[{"input_id":"b5852507e3a38b4di0","output_id":"b582a0fc78e19f4do0"},{"input_id":"b5836d2acae4a245i1","output_id":"b582a0fc78e19f4do0"},{"input_id":"b5836d2acae4a245i1","output_id":"b582a0fc78e19f4do0"},{"input_id":"b5842828d1bd3b4di0","output_id":"b5836d2acae4a245o0"},{"input_id":"b5842828d1bd3b4di1","output_id":"b5836d2acae4a245o0"},{"input_id":"b583d90f0ad35e4ai0","output_id":"b5852507e3a38b4do0"},{"input_id":"b58450331c49e542i2","output_id":"b583d90f0ad35e4ao1"},{"input_id":"b5842828d1bd3b4di0","output_id":"b5836d2acae4a245o0"},{"input_id":"b5842828d1bd3b4di1","output_id":"b5836d2acae4a245o0"},{"input_id":"b58450331c49e542i1","output_id":"b5842828d1bd3b4do0"},{"input_id":"b5844f8b46c06647i1","output_id":"b5842828d1bd3b4do1"},{"input_id":"b5844f1313ab6642i1","output_id":"b5842828d1bd3b4do2"},{"input_id":"b5844e852eba5b45i1","output_id":"b5842828d1bd3b4do3"},{"input_id":"b5844e852eba5b45i1","output_id":"b5842828d1bd3b4do3"},{"input_id":"b5844f1313ab6642i1","output_id":"b5842828d1bd3b4do2"},{"input_id":"b5844f8b46c06647i1","output_id":"b5842828d1bd3b4do1"},{"input_id":"b58450331c49e542i1","output_id":"b5842828d1bd3b4do0"},{"input_id":"b58450331c49e542i2","output_id":"b583d90f0ad35e4ao1"},{"input_id":"b585c2c01565ea4fi0","output_id":"b58450331c49e542o0"},{"input_id":"b5852507e3a38b4di0","output_id":"b582a0fc78e19f4do0"},{"input_id":"b583d90f0ad35e4ai0","output_id":"b5852507e3a38b4do0"},{"input_id":"b585c2c01565ea4fi0","output_id":"b58450331c49e542o0"},{"input_id":"b5866d6c6261ae4ai0","output_id":"b58609dc3f13704fo0"},{"input_id":"b586bb872d7d3444i0","output_id":"b58609dc3f13704fo0"},{"input_id":"b5866d6c6261ae4ai4","output_id":"b5866ce7ec92c243o0"},{"input_id":"b58a1e302d2ec346i0","output_id":"b5866d6c6261ae4ao1"},{"input_id":"b5866ce7ec92c243i1","output_id":"b58699d78f4c904fo0"},{"input_id":"b58699d78f4c904fi0","output_id":"b586bb872d7d3444o0"},{"input_id":"b59723b6528b274ci3","output_id":"b58737a32ca9af4bo4"},{"input_id":"b58737a32ca9af4bi6","output_id":"b58a1e302d2ec346o0"},{"input_id":"b5903f8020fb0247i1","output_id":"b58a1e302d2ec346o1"},{"input_id":"b59067bedb6d8f4ai0","output_id":"b58bf847fc82e54ao0"},{"input_id":"b599c73e090f794ci0","output_id":"b58bf847fc82e54ao0"},{"input_id":"b5a31c0d90a14c45i0","output_id":"b5903f8020fb0247o0"},{"input_id":"b59a0a16c3885a4bi2","output_id":"b59067bedb6d8f4ao0"},{"input_id":"b5977ce6269ce74ci1","output_id":"b59723b6528b274co0"},{"input_id":"b58bf847fc82e54ai3","output_id":"b59723b6528b274co0"},{"input_id":"b59723b6528b274ci0","output_id":"b5977ce6269ce74co0"},{"input_id":"b59a5bc6e3c02b45i0","output_id":"b599c73e090f794co0"},{"input_id":"b5903f8020fb0247i0","output_id":"b59a0a16c3885a4bo0"},{"input_id":"b59a0a16c3885a4bi0","output_id":"b59a5bc6e3c02b45o0"},{"input_id":"b5b0974867e0934ei0","output_id":"b5a8e71c4c0e3146o0"},{"input_id":"b5b130ac60a48649i0","output_id":"b5a8e71c4c0e3146o0"},{"input_id":"b5b4b29eebcf3545i1","output_id":"b5b0838af71cfb43o0"},{"input_id":"b5b47f1d68749d44i3","output_id":"b5b0838af71cfb43o1"},{"input_id":"b5b0bbb78f7b1c4di0","output_id":"b5b0974867e0934eo1"},{"input_id":"b5b0838af71cfb43i1","output_id":"b5b0bbb78f7b1c4do0"},{"input_id":"b5b0974867e0934ei4","output_id":"b5b1281756629743o0"},{"input_id":"b5b1281756629743i1","output_id":"b5b130ac60a48649o0"},{"input_id":"b5b31cb56ee70b44i3","output_id":"b5b274e1539c3442o1"},{"input_id":"b5b34d159ef5624bi0","output_id":"b5b31cb56ee70b44o0"},{"input_id":"b5b274e1539c3442i3","output_id":"b5b3e61bc94ab44co0"},{"input_id":"b5b4b29eebcf3545i0","output_id":"b5b47f1d68749d44o0"},{"input_id":"b5b4dbc37890494bi1","output_id":"b5b4b29eebcf3545o0"},{"input_id":"b5b5e725c1f3de46i1","output_id":"b5b4b29eebcf3545o0"},{"input_id":"b5b47f1d68749d44i0","output_id":"b5b4dbc37890494bo0"},{"input_id":"b5b3e61bc94ab44ci0","output_id":"b5b5e725c1f3de46o1"},{"input_id":"b5bbb0abc80c5a4ei0","output_id":"b5bb92945813be48o0"},{"input_id":"b5bbafe56b2d7d40i0","output_id":"b5bb92945813be48o0"},{"input_id":"b5b34d159ef5624bi3","output_id":"b5bbafe56b2d7d40o0"},{"input_id":"b5b34d159ef5624bi2","output_id":"b5bbb0abc80c5a4eo0"}]}}}

Here’s the code for it, though I am cringing at it lol. I’ll try to make multplayer nametags tomorrow. I know brick is trying currently to make it better for Misty Hollow, so he’ll likely make it first because he’s worked with Multiplayer more than me

2 Likes

Its too complicated for my peanut sized brain to comprehend.

2 Likes

It’s mostly hard to work with because Flowlab is buggy with Multiplayer, it isn’t actually that hard once you’re used to it.

2 Likes

Okay, thanks! Cya.