Tile - YEntity - Is – Ylands

From Bohemia Interactive Community
Revision as of 14:27, 24 November 2023 by Lou Montana (talk | contribs) (Text replacement - "{{DEFAULTSORT:{{#sub:{{PAGENAME}}|14}}}}" to "{{DEFAULTSORT:{{#sub:{{PAGENAME}}|7}}}}")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Is(Entity, Class)

YlandsTile-204.png

is(klass: YTag): boolean;

Parameters

class

Entity class to test

Returns

boolean Returns whether the selected entity is of certain class, e.g workstation.

Availability

Client, Server

Description

Returns whether the selected entity is of certain class, e.g workstation.

Is(Entity, Type)

YlandsTile-633.png

isType(type: YEntityType): boolean;

Parameters

type

Entity type to test

Returns

boolean

Availability

Client, Server

Description

Returns whether target entity type matches selected type.