Tile - YEnergy - Unlink All Energy Ports – 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}}}}")
 
(5 intermediate revisions by 2 users not shown)
Line 1: Line 1:
[[Image:{{FULLPAGENAME}}1.png]]
<!---
*Allows to '''link''' two energy '''entities''' to each other.
THIS PAGE WAS GENERATED AUTOMATICALLY; DO NOT EDIT IT, OTHERWISE YOUR CHANGES WILL BE LOST DURING FUTURE UPDATE.
*Energy '''ports''' are selected '''randomly''' if there are any available.
-->
== Unlink All Energy Ports(Entity) ==


[[File:YlandsTile-339.png]]


[[Image:{{FULLPAGENAME}}2.png]]
<pre>static unlinkEnergy(entity: YEntity): void;</pre>
*Allows to '''link''' two energy '''entities''' to each other trough '''specific''' '''ports'''.
=== Parameters ===


==== entity ====


[[Image:{{FULLPAGENAME}}3.png]]
Target entity
*Allows to '''unlink''' specific energy '''port''' on selected entity.


=== Availability ===


[[Image:{{FULLPAGENAME}}4.png]]
[[Ylands:Tile Availability - Server|Server]]
*'''Unlinks''' '''all''' energy '''ports''' on selected entity.


=Notes=
=== Description ===
*Energy ports are numbered from 0, e.g: ports of entity with 3 ports are numbered 0, 1, 2.
 
*See also: [[Ylands Tile - Energy is port connected|'''Is Port Connected''']], [[Ylands Tile - Energy port count|'''Get Entity Port Count''']].
'''Unlinks all''' energy '''ports''' on selected entity.




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


[[Category: Instructions]]
[[Category: Instructions]]
[[Category: Ylands 0.12]]

Latest revision as of 15:26, 24 November 2023