Regions & protection · Value
Regions at a spot
The regions a location is in, highest priority first, and the first one by itself.
m.region.regions_at
In a flow
“When a player uses a command → Regions at Player location → Answer: You are in {node.v.top}.”
When a player uses a command → Regions at Player location → Answer: You are in {node.v.top}.
What it does
The regions a location is in, highest priority first, and the first one by itself. It's a value node: no white pins, it works out its answer when a step wired to it needs it. It gives 3 values later steps can use. Find it under Regions & protection in the palette.
When to use it
Use it when the flow needs to: the regions a location is in, highest priority first, and the first one by itself.
When not to
For a value that never changes, type it into the setting instead of wiring a node.
Typical wiring
Sockets: settings you can wire
- Where Location
-
Where: wire a location in, like Location from Player location, or type world x y z.
What goes there: Type it in the side panel, or wire in a location. e.g. world 10.5 64 -3.2
If it's empty: Optional. Left empty and unwired, the step runs without it.
Values it gives
- Regions list:text
-
Their names, highest priority first. e.g. spawn
If it's empty: Empty when the step didn't make one (it stopped early or was skipped); steps reading it get nothing.
Connects toCreate pollPoll with resultsAdd onboarding questionAdd to listAdd up timesAutoMod: add or remove allowed wordsAutoMod: add or remove wordsAutoMod: block wordsand 90 more
- Count Number
-
How many. e.g. 1
If it's empty: Empty when the step didn't make one (it stopped early or was skipped); steps reading it get nothing.
Connects toAccount ageActive membersAddAdd answer to formAdd soundboard soundAdd timeAdd to a counterAdd to a leaderboardand 719 more
- Top region Text
-
The highest priority region, or empty. e.g. spawn
If it's empty: Empty when the step didn't make one (it stopped early or was skipped); steps reading it get nothing.
Connects toAccept applicationAdd a forum tagAdd a labelAdd a Notion pageAdd a row to a Google SheetAdd a staff noteAdd a stickerAdd a Trello cardand 578 more