Modding
Discord Wishlist on Steam

Library›Places

Is any player near

fn/game.IsAnyPlayerNear

Whether any player is within so many metres of a place just now.

Is any player nearallatmetres10near
Does
An action: done when the run reaches it
Runs
On every machine
Listed under
Library › Places
In a file
fn/game.IsAnyPlayerNear

Pins

  • inata position

    The place.

  • inmetresa number

    How far round it, in metres.

    Starts as 10

  • outnearyes or no

    Yes when near.

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 places.graph.json.

StartallatmetresNearest playerallatplayermetresfound≤ANDReturnallnear
Is any player near

Built from