Tile - YEngine - Fuel Engine – Ylands

From Bohemia Interactive Community
(Redirected from Ylands Tile - Fuel entity)
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

Fuel Engine(Entity, Amount)

YlandsTile-134.png

static fuel(target: YEntity, amount: number): void;

Parameters

target

Target entity

amount

Amount of fuel

Availability

Server

Description

Allows to add desired amount of fuel to selected entity.

Notes

  • Works only for engines.
  • To remove fuel from target, use negative amount.
  • Maximum engine fuel capacity is 1000.