DocsNodesValues

Grid Read

What is stored in one cell of the board.

sample, read tile, what is here, lookup cell, check
Category
Values
Outputs
value
Runs live in
no target yet

Sample the board at a cell and get the value there, which is how a graph asks what is the player standing on. Out of range reads as zero rather than failing.

That single number is enough to drive the whole decision: is this mine, is it a rival's, is it unclaimed.

Inputs

SocketTypeWiring
gridvalue

Parameters

NameTypeDefaultAvailable whenWhat it does
Indexnumber0always

Built with this node

Nothing in the manual is built around this node yet.

See also

  • gridCellTo work out which cell to read.
  • compareTo turn the value into a yes or no.

Open the editor and try it