Tile - YEnergy - Unlink Energy – Ylands

From Bohemia Interactive Community
Jump to navigation Jump to search

Unlink Energy(Entity, Port)

YlandsTile-337.png

static unlinkEnergy(entity: YEntity, port: number): void;

Parameters

entity

Target entity

port

Target port

Availability

Server

Description

Allows to unlink specific energy port on selected entity.

Notes

  • Energy ports are numbered from 0, e.g: ports of entity with 3 ports are numbered 0, 1, 2.