Tile - YCodexPage - Set Codex Page Enabled – Ylands

From Bohemia Interactive Community
Jump to navigation Jump to search

Set Codex Page Enabled(Player, Codex page, Enabled)

YlandsTile-642.png

static enable(player: YCharacter, codexPage: YCodexPage, enabled: boolean): void;

Parameters

player

Target player

codexPage

Codex page to enable/disable

enabled

Whether the page is enabled or disabled

Availability

Server

Description

Allows enable/disable selected codex page for a player.