sm.interactable.connectionType
Logic
Kind: Constant
Environments: Game
Game
The interactable sends or reads a boolean signal to signal it's current state. (isActive) to signal its output.
In: The interactable reads a boolean (isActive) from its parent as input.
Power
Out: The controller uses a float (getPower) to signal strength output (steering only).
In: The controller reads a float (getPower) from its parent as input for strength.
| Value | Description |
|---|---|
| none | 0 |
| logic | 1 |
| power | 2 |
| bearing | 4 |
| seated | 8 |
| piston | 16 |
| gasoline | 256 |
| electricity | 512 |
| water | 1024 |
| ammo | 2048 |
| chemical | 4096 |
Returns:
| Type | Description |
|---|---|
| table | The connection type list. |