Tile - YEnergy - Get Other Connected Entity – Ylands

From Bohemia Interactive Community
Jump to navigation Jump to search
(Created page with " ---- {{Ylands scripting navbox}} {{DEFAULTSORT:{{#sub:{{PAGENAME}}|14}}}} Category: Instructions Category: Ylands 1.1")
 
m (Text replacement - "{{DEFAULTSORT:{{#sub:{{PAGENAME}}|14}}}}" to "{{DEFAULTSORT:{{#sub:{{PAGENAME}}|7}}}}")
 
(8 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) =&gt; void, noConnection: () =&gt; 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.




----
----
{{Ylands scripting navbox}}
{{Navbox/Ylands}}
{{DEFAULTSORT:{{#sub:{{PAGENAME}}|14}}}}
{{DEFAULTSORT:{{#sub:{{PAGENAME}}|7}}}}


[[Category: Instructions]]
[[Category: Instructions]]
[[Category: Ylands 1.1]]

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.