Tile - YCustomControls - Set Default Key Action Enabled – Ylands
Jump to navigation
Jump to search
No edit summary |
Lou Montana (talk | contribs) m (Text replacement - "{{DEFAULTSORT:{{#sub:{{PAGENAME}}|14}}}}" to "{{DEFAULTSORT:{{#sub:{{PAGENAME}}|7}}}}") |
||
(6 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
<!--- | |||
THIS PAGE WAS GENERATED AUTOMATICALLY; DO NOT EDIT IT, OTHERWISE YOUR CHANGES WILL BE LOST DURING FUTURE UPDATE. | |||
--> | |||
== Set Default Key Action Enabled(Player, Action, Enabled) == | |||
= | [[File:YlandsTile-854.png]] | ||
<pre>static enableDefaultKeyAction(player: YCharacter, action: YCharacterAction | YInputAction, active: boolean): void;</pre> | |||
=== Parameters === | |||
==== player ==== | |||
==== action ==== | |||
==== active ==== | |||
=== Availability === | |||
[[Ylands:Tile Availability - Server|Server]] | |||
=== Description === | |||
Allows to '''enable'''/'''disable''' the '''default key action''' for the target '''player'''. | |||
== Set Default Key Action Enabled(Custom controls, Player, Action, Enabled) == | |||
[[File:YlandsTile-863.png]] | |||
<pre>enableDefaultKeyAction(player: YCharacter, action: YCharacterAction | YInputAction, active: boolean): void;</pre> | |||
=== Parameters === | |||
==== player ==== | |||
==== action ==== | |||
==== active ==== | |||
=== Availability === | |||
[[Ylands:Tile Availability - Server|Server]] | |||
=== Description === | |||
Allows to '''enable'''/'''disable''' the '''default key action''' of the target '''Custom controls''' for the target '''player'''. | |||
---- | ---- | ||
{{Ylands | {{Navbox/Ylands}} | ||
{{DEFAULTSORT:{{#sub:{{PAGENAME}}| | {{DEFAULTSORT:{{#sub:{{PAGENAME}}|7}}}} | ||
[[Category: Instructions]] | [[Category: Instructions]] | ||
Latest revision as of 15:26, 24 November 2023
Set Default Key Action Enabled(Player, Action, Enabled)
static enableDefaultKeyAction(player: YCharacter, action: YCharacterAction | YInputAction, active: boolean): void;
Parameters
player
action
active
Availability
Description
Allows to enable/disable the default key action for the target player.
Set Default Key Action Enabled(Custom controls, Player, Action, Enabled)
enableDefaultKeyAction(player: YCharacter, action: YCharacterAction | YInputAction, active: boolean): void;
Parameters
player
action
active
Availability
Description
Allows to enable/disable the default key action of the target Custom controls for the target player.