Tile - On Custom Console Command – Ylands

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "{{Ylands scripting navbox}}" to "{{Ylands editor navbox}}")
m (Text replacement - "{{DEFAULTSORT:{{#sub:{{PAGENAME}}|14}}}}" to "{{DEFAULTSORT:{{#sub:{{PAGENAME}}|7}}}}")
 
(4 intermediate revisions by 2 users not shown)
Line 1: Line 1:
[[Image:On custom console command.png]]
<!---
*Event '''called''' when '''player''' executes custom console command.
THIS PAGE WAS GENERATED AUTOMATICALLY; DO NOT EDIT IT, OTHERWISE YOUR CHANGES WILL BE LOST DURING FUTURE UPDATE.
*Before regular command one '''/''' is used, but before custom command use '''//'''.
-->
*Provides with '''command''' which is a [[Ylands Tile - String literal|'''string''']] of text written by the trigger entity after '''//'''.
== On Custom Console Command ==
*Provides with '''arguments''' which is an array of [[Ylands Tile - String literal|'''strings''']] written after the command.
 
[[File:YlandsTile-425.png]]
 
=== Availability ===
 
[[Ylands:Tile Availability - Server|Server]]
 
=== Description ===
 
Called when a '''player''' executes a custom console command.
 
=== Notes ===
 
* Before regular command one '''/''' is used, but before custom command use '''//'''.
* Provides with '''command''' which is a '''string''' of text written by the trigger entity after '''//'''.
* Provides with '''arguments''' which is an array of '''strings''' written after the command.


=Note=
*See also [[Ylands Game logic - Event listener|'''Event Listener''']].


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


[[Category: Events]]
[[Category: Instructions]]
[[Category: Ylands 0.12]]

Latest revision as of 14:23, 24 November 2023

On Custom Console Command

YlandsTile-425.png

Availability

Server

Description

Called when a player executes a custom console command.

Notes

  • Before regular command one / is used, but before custom command use //.
  • Provides with command which is a string of text written by the trigger entity after //.
  • Provides with arguments which is an array of strings written after the command.