Tile - YEnergy - Get Other Connected Entity – Ylands
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "\{\{Navbox\/Ylands\}\}" to "{{Navbox/Ylands}}") |
Lou Montana (talk | contribs) m (Text replacement - "{{DEFAULTSORT:{{#sub:{{PAGENAME}}|14}}}}" to "{{DEFAULTSORT:{{#sub:{{PAGENAME}}|7}}}}") |
||
(4 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
<!--- | |||
THIS PAGE WAS GENERATED AUTOMATICALLY; DO NOT EDIT IT, OTHERWISE YOUR CHANGES WILL BE LOST DURING FUTURE UPDATE. | |||
--> | |||
== Get Other Connected Entity(Entity, Port, Connected, No connection) == | |||
[[File:YlandsTile-768.png]] | |||
<pre>static getOtherConnectedEntity(entity: YEntity, port: number, connected: (entity: YEntity, port: number) => void, noConnection: () => void): void;</pre> | |||
=== Parameters === | |||
==== entity ==== | |||
==== port ==== | |||
==== connected ==== | |||
==== noConnection ==== | |||
=== Availability === | |||
[[Ylands:Tile Availability - Server|Server]] | |||
=== Description === | |||
Returns whether there is another '''entity''' connected to the target energy '''port''' and allows for additional instructions based on the outcome. | |||
---- | ---- | ||
{{Navbox/Ylands}} | {{Navbox/Ylands}} | ||
{{DEFAULTSORT:{{#sub:{{PAGENAME}}| | {{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)
static getOtherConnectedEntity(entity: YEntity, port: number, connected: (entity: YEntity, port: number) => void, noConnection: () => void): void;
Parameters
entity
port
connected
noConnection
Availability
Description
Returns whether there is another entity connected to the target energy port and allows for additional instructions based on the outcome.