What is wrong with these blocks

I want to let every player have a player number, a player property “player” so that I can save their coordinates in a public property. I wrote these blocks but the player property doesn’t seem to be working. can anyone tell me what is wrong?




I made the leaderboard like this to test it and it isn’t working
image
image
and I also made the overlay show the property and it shows nothing .
Any ideas what I did wrong?

why are there so many properties?
If you want to save their coordinates get 2 properties with a player scope: “x” and “y”
Then get a 3rd property with a player scope: “player coordinates”; This would be the score on the leaderboard.
use the player position detector device to broadcast on channel “update” when player coordinates change and it updates the “x” and “y” properties.
get a trigger that triggers when receiving on channel “update”
give the trigger these blocks:
set property “player coordinates”
value create text with get property “x”
--------------------------------------------------------", "
----------------------------------- get property “y”

1 Like

I suggest you test parts of it in “text”… to see which parts work and which parts don’t

1 Like

oh yeah…I never thought to create a text property coordinates…thanks for the advice

2 Likes

I found what’s wrong, I should’ve put the deact channel in the do not else

hang on, the player property still isn’t working
edit: I found out that th eplayer property was a text property! now it’s fixed

This topic was automatically closed 3 hours after the last reply. New replies are no longer allowed.