Ylands:Tile - YCustomControls - Set Custom Key Action Enabled

From Bohemia Interactive Community
Jump to navigation Jump to search

Set Custom Key Action Enabled(Custom controls, Player, Action, Enabled)

YlandsTile-864.png

enableCustomKeyAction(player: YCharacter, action: number, active: boolean): void;

Parameters

player

action

active

Availability

Server

Description

Allows to enable/disable the custom key action of the target Custom controls for the target player.