Tile - YCustomControls - Set Default Key Action Enabled Transient – Ylands

From Bohemia Interactive Community
Jump to navigation Jump to search

Set Default Key Action Enabled Transient(Player, Action, Enabled)

YlandsTile-1297.png

static enableDefaultKeyActionTransient(player: YCharacter, action: YCharacterAction | YInputAction, active: boolean): void;

Parameters

player

action

active

Availability

Server, Not in Edu

Description

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