Skip to content

CollectionOfWires Class

Paulo Rafael edited this page Jan 17, 2024 · 2 revisions

Collection Of Wires

CollectionOfWires class is WireCollection adapted for Lua, where wire nodes are contained here.
WireCollection is in other words the brain of the mission.

Members

No public members available for Lua.

Methods

  • Add a new wire node: void Add(Node node, byte type = 1)

Wire Types

  • 1: On Success Enable (The game will enable the selected node if this node succeded)
  • 2: On Success Disable (The game will attempt to disable the selected node if this node succeded)
  • 3: On Failure Enable (The game will enable the selected node if this node failed)
  • 4: On Failure Disable (The game will attempt to disable the selected node if this node failed)
  • 5: On Condition Enable (No research done so far for this one)
  • 6: On Condition Disable (No research done so far for this one)
  • 11: Group Enable (More used in GroupBroadcast node types; will enable or disable the node when activated or deactivated)
  • 12: Group Disable (More used in GroupBroadcast node types; will disable or enable the node when activated or deactivated)
Clone this wiki locally