DocsNodesValues

Bot

An autonomous player that wanders on its own.

ai, enemy, rival, opponent, npc, autonomous, wander
Category
Values
Outputs
value
Runs live in
no target yet

It produces the same kind of signal a person does, so anything built to be driven by Input can be driven by this instead, with no rewiring.

Drop two of them, one horizontal and one vertical with the same seed, and you have a rival that moves around the board and turns away from the edges. The seed decides its route, so a different seed is a different opponent.

Inputs

SocketTypeWiring

Parameters

NameTypeDefaultAvailable whenWhat it does
Axishorizontal | verticalhorizontalalways
Pos Xnumber0always
Pos Znumber0always
Seednumber7always
Periodnumber150always
Widthnumber10always
Heightnumber10always
Spacingnumber1always
Edge Marginnumber1always

Built with this node

Nothing in the manual is built around this node yet.

See also

  • inputThe same signal from a real player.
  • stateTo turn its direction into a position, exactly as for a player.

Open the editor and try it