Tile - YEnergy - Get Port Count – Ylands

From Bohemia Interactive Community
Jump to navigation Jump to search
m (YlandsClassyBot moved page Ylands Tile - Energy port count to Ylands:Tile - YEnergy - Get Port Count: New Structure)
No edit summary
Line 1: Line 1:
[[Image:{{FULLPAGENAME}}.png]]
<!---
*Returns the '''number''' of energy '''ports''' of selected '''entity'''.
THIS PAGE WAS GENERATED AUTOMATICALLY; DO NOT EDIT IT, OTHERWISE YOUR CHANGES WILL BE LOST DURING FUTURE UPDATE.
-->
== Get Port Count(Entity) ==


=Notes=
[[File:YlandsTile-1056.png]]
*Energy ports are numbered from 0, e.g: ports of entity with 3 ports are numbered 0, 1, 2
 
<pre>static getPortCount(target: YEntity): number;</pre>
=== Parameters ===
 
==== target ====
 
Target entity
 
=== Returns ===
 
'''number'''
 
=== Description ===
 
Returns the '''number''' of energy '''ports''' of target '''entity'''.




Line 11: Line 27:


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

Revision as of 09:52, 8 July 2021