Modding
Discord Wishlist on Steam

Library›People

Players near

fn/game.PlayersNear

Every player within so many metres of a place.

Players nearallatmetres20players
Does
An action: done when the run reaches it
Runs
On every machine
Listed under
Library › People
In a file
fn/game.PlayersNear

Pins

  • inata position

    The place.

  • inmetresa number

    How far round it, in metres.

    Starts as 20

  • outplayersa list

    A list of players.

How it is made

Its body, as the bench opens it read-only. Copy into my mod on the bench makes a copy to change. The library's file is people.graph.json.

StartallatmetresAll playersplayersFor eachlistLoop bodyDoneitemindexPosition ofofpositionDistanceabresult≤BranchconditiontruefalsefoundAdd to listalllistitemReturnallplayers
Players near

Built from