Modding
Discord Wishlist on Steam

Library›People

Is near

fn/game.IsNear

Whether a person or thing is within so many metres of a place.

Is nearwhoatmetres3near
Does
A value: worked out when a node wired to it asks
Runs
On every machine
Listed under
Library › People
In a file
fn/game.IsNear

Pins

  • inwhoa thing

    The person.

  • inata position

    The place.

  • inmetresa number

    How far round it, in metres.

    Starts as 3

  • 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 people.graph.json.

StartallwhoatmetresPosition ofofpositionDistanceabresult≤Returnnear
Is near

Built from