Browsing StarfallEx's section
โ† Back to ACE
Back to StarfallEx

SFEX.wire.create

S๐Ÿท๏ธ Wire

Part of StarfallEx namespace

๐Ÿ”— External
wire.create(entI, entO, inputname, outputname, width, color, material)
View on GitHub|lua/starfall/libs_sv/wire.lua:515
๐Ÿ“‹ Has LDoc๐Ÿ‘๏ธ 0 viewsUpdated 2 months ago

Description

Wires two entities together

Parameters

NameTypeDescription
entIEntityEntity with input
entOEntityEntity with output
inputnamestringInput to be wired
outputnamestringOutput to be wired. May be "entity" or "wirelink" to specify an entity/wirelink output
width?numberWidth of the wire(optional)
color?ColorColor of the wire(optional)
materialName?stringMaterial 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.