So we have a coordinate system. It’s fine, but it uses way too many blocks, like if you have an m by n rectangle, it will use 700*(m+n) memory! So this guide will NOT use blocks but will rather use the beloved PCPs to overcome this issue.
Here is the coordinate system I referred to:
Zones
Make all the zones in that guide. Now, make them all broadcast on “[axis letter][number]”. Make a counter for each zone. Make the most be for the x zones edit the x coordinate property, and the ones for the y zones edit the y coordinate property.
Counters
Make each counter’s default be the number for its zone’s number. So the counter for the 1 value for x would have a default of 1. Now this is important (only if counters don’t do negatives)! Make the counter first increment on its zone’s channel, and then decrease on the same channel. This will just set the property to the default value.
Results*
You save 500 memory per coordinate value. Here is the end product:
Huh! I actually never thought of this! This is really clever. Though, would you mind asking me if you want to make a guide on one of my things in the future?
They are used to track a players location and trigger certain actions depending on where they are.
Also, you can’t switch the player from spectator to alive (please give me a better word to use)