Skip to content

Component Sign

Vexatos edited this page Jul 13, 2014 · 2 revisions

For those that don't like images: the wiki has moved to a new place, http://ocdoc.cil.li/.
This wiki will no longer be updated.


This is the component provided by the Sign Upgrade.

Component name: sign.
Callbacks:

  • getValue(): string or nil, string
    Gets the text currently displayed on the sign in front of the robot, or nil and an error message if there is no sign in front of the robot.
  • setValue(value: string): string or nil, string
    Sets the text of the sign in front of the robot. Returns the new text on the sign (which may be a truncated version of the passed argument) or nil and an error message if there is no sign in front of the robot.
Clone this wiki locally