Modding
Discord Wishlist on Steam

Node book›Screen and camera

Send

Sends a value under a name to players' machines, where When the server sends hears it.

One node on the bench: its dropdown switches between the choices below, keeping the wires that still fit. In a file each choice has its own id.

ChoiceIdWhat it does
To everyonecall/Graph.SendToEveryoneSends a value under a name to every player's machine, where When the server sends hears it.
To a playercall/Graph.SendToPlayerSends a value under a name to one player's machine.
Near a placecall/Graph.SendNearSends a value under a name to the machines of players within so many metres of a place.

To everyone

Sends a value under a name to every player's machine, where When the server sends hears it.

Send to everyonenamenewsvalue
Does
An action: done when the run reaches it
Runs
Where the game is decided: single player, the host, the server
In a file
call/Graph.SendToEveryone
  • innametext

    The name it goes under.

    Starts as news

  • invalueanything

    What to send.

To a player

Sends a value under a name to one player's machine.

Send to a playerplayernamenewsvalue
Does
An action: done when the run reaches it
Runs
Where the game is decided: single player, the host, the server
In a file
call/Graph.SendToPlayer
  • inplayera character

    Whose machine.

  • innametext

    The name it goes under.

    Starts as news

  • invalueanything

    What to send.

Near a place

Sends a value under a name to the machines of players within so many metres of a place.

Send nearatmetres30.0namenewsvalue
Does
An action: done when the run reaches it
Runs
Where the game is decided: single player, the host, the server
In a file
call/Graph.SendNear
  • inata position

    The place.

  • inmetresa number

    How far round it.

    Starts as 30.0

  • innametext

    The name it goes under.

    Starts as news

  • invalueanything

    What to send.