diff --git a/docs/modules/mechanics/variables.mdx b/docs/modules/mechanics/variables.mdx index 854f8132..d5c3ab49 100644 --- a/docs/modules/mechanics/variables.mdx +++ b/docs/modules/mechanics/variables.mdx @@ -20,6 +20,7 @@ You can define as many variables as you want and all variables must have a scope | `` | An individual variable. | | `` | A score variable, allowing direct access to competitor's score. This is automatically scoped to teams. | | `` | A time limit variable which starts/stops the time limit of the match. | + | `` | A variable that sets the build height of the map. | | `` | A team-rescoping variable that allows using a specific team's value from a different team-scoped variable as a match-scoped variable. | @@ -156,6 +157,22 @@ can be ended by setting the value to `0`. ``` +### Maxbuildheight Variable +The `maxbuildheight` variable will give a height limit for placing blocks +after being set to a certain value. + +```xml + + + + + + + + + +``` + ### Team-Rescoping Variables Whenever `some-filter` matches for a player (e.g. entering a region), it will trigger an action that sets red team's score to exactly 10, then adds 5 to the score of the team the player is in. In short, if a player in red team triggers `some-filter`, red is reset to 10 + 5 = 15, no other scores are affected.