Tile - YEnergy - Get Other Connected Entity – Ylands

From Bohemia Interactive Community
Jump to navigation Jump to search
No edit summary
m (Text replacement - "{{DEFAULTSORT:{{#sub:{{PAGENAME}}|14}}}}" to "{{DEFAULTSORT:{{#sub:{{PAGENAME}}|7}}}}")
 
Line 28: Line 28:
----
----
{{Navbox/Ylands}}
{{Navbox/Ylands}}
{{DEFAULTSORT:{{#sub:{{PAGENAME}}|14}}}}
{{DEFAULTSORT:{{#sub:{{PAGENAME}}|7}}}}


[[Category: Instructions]]
[[Category: Instructions]]

Latest revision as of 15:27, 24 November 2023

Get Other Connected Entity(Entity, Port, Connected, No connection)

YlandsTile-768.png

static getOtherConnectedEntity(entity: YEntity, port: number, connected: (entity: YEntity, port: number) => void, noConnection: () => void): void;

Parameters

entity

port

connected

noConnection

Availability

Server

Description

Returns whether there is another entity connected to the target energy port and allows for additional instructions based on the outcome.