Tile - YCustomControls - Set Default Key Action Enabled – Ylands

From Bohemia Interactive Community
Jump to navigation Jump to search
No edit summary
No edit summary
Line 14: Line 14:


==== active ====
==== active ====
=== Availability ===
[[Ylands:Tile Availability - Server|Server]]


=== Description ===
=== Description ===
Line 31: Line 35:


==== active ====
==== active ====
=== Availability ===
[[Ylands:Tile Availability - Server|Server]]


=== Description ===
=== Description ===

Revision as of 12:15, 12 November 2021

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

YlandsTile-854.png

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

Parameters

player

action

active

Availability

Server

Description

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

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

YlandsTile-863.png

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

Parameters

player

action

active

Availability

Server

Description

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