Tile - YCustomControls - Is Custom Key Action Enabled – Ylands

From Bohemia Interactive Community
Jump to navigation Jump to search
No edit summary
No edit summary
(7 intermediate revisions by 3 users not shown)
Line 1: Line 1:
[[Image:{{PAGENAME}}.png]]
<!---
*Allows to '''enable''' / '''disable''' a Custom Action for selected '''Player'''.
THIS PAGE WAS GENERATED AUTOMATICALLY; DO NOT EDIT IT, OTHERWISE YOUR CHANGES WILL BE LOST DURING FUTURE UPDATE.
*Action ID is selected via the [[Ylands Tile - Custom Action literal|'''Custom Action''']] enum.
-->
== Is Custom Key Action Enabled(Custom controls, Player, Action) ==


=Notes=
[[File:YlandsTile-865.png]]
*See also: [[Ylands Custom controls|'''Custom Controls''']]
 
<pre>isCustomKeyActionEnabled(player: YCharacter, action: number): boolean;</pre>
=== Parameters ===
 
==== player ====
 
==== action ====
 
=== Returns ===
 
'''boolean'''
 
=== Availability ===
 
[[Ylands:Tile Availability - Server|Server]]
 
=== Description ===
 
Returns whether the '''player''' has the '''custom key action''' of the target '''custom controls''' enabled or not.




----
----
{{Ylands scripting navbox}}
{{Navbox/Ylands}}
{{DEFAULTSORT:{{#sub:{{PAGENAME}}|14}}}}
{{DEFAULTSORT:{{#sub:{{PAGENAME}}|14}}}}


[[Category: Instructions]]
[[Category: Instructions]]
[[Category: Ylands 0.14]]

Revision as of 16:30, 30 March 2022

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

YlandsTile-865.png

isCustomKeyActionEnabled(player: YCharacter, action: number): boolean;

Parameters

player

action

Returns

boolean

Availability

Server

Description

Returns whether the player has the custom key action of the target custom controls enabled or not.