Part of StarfallEx namespace
๐ External
wire.create(entI, entO, inputname, outputname, width, color, material)๐ Has LDoc๐๏ธ 0 viewsUpdated 2 months ago
Description
Wires two entities together
Parameters
| Name | Type | Description |
|---|---|---|
entI | Entity | Entity with input |
entO | Entity | Entity with output |
inputname | string | Input to be wired |
outputname | string | Output to be wired. May be "entity" or "wirelink" to specify an entity/wirelink output |
width? | number | Width of the wire(optional) |
color? | Color | Color of the wire(optional) |
materialName? | string | Material of the wire(optional), Valid materials are cable/rope, cable/cable2, cable/xbeam, cable/redlaser, cable/blue_elec, cable/physbeam, cable/hydra, arrowire/arrowire, arrowire/arrowire2 |
Returns
No return values documented.
Examples
No examples available.
Used In
No usages found in the codebase.