Circuit Switch

Parent

A circuit bridge that can be activated and deactivate by the player.

Properties

buildingTag : String

Returns the building tag if it has any

Details
Flags ReadOnly RuntimeSync RuntimeParallel

Display Name

Building Tag

hasBuildingTag : Bool

Returns true if this building is taggable

Details
Flags ReadOnly RuntimeSync RuntimeParallel

Display Name

Has Building Tag

isSwitchOn : Bool

True if the two circuits are connected to each other and act as one entity.

Details
Flags ReadOnly RuntimeSync

Display Name

Is Switch On

Functions

setIsSwitchOn (state : Bool)

Changes the circuit switch state.

Details

Flags

RuntimeSync MemberFunc

Display Name

Set Is Switch On

Parameters
Name Type Description

State state

Bool

The new switch state.