Tile - YArray - Random Array Item – Ylands

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "{{Ylands editor navbox}}" to "{{Navbox/Ylands}}")
m (Text replacement - "{{DEFAULTSORT:{{#sub:{{PAGENAME}}|14}}}}" to "{{DEFAULTSORT:{{#sub:{{PAGENAME}}|7}}}}")
 
(2 intermediate revisions by one other user not shown)
Line 1: Line 1:
[[Image:Editor-VS_tile-array_random.png]]
<!---
*Will return a value of '''randomly''' chosen cell of the array
THIS PAGE WAS GENERATED AUTOMATICALLY; DO NOT EDIT IT, OTHERWISE YOUR CHANGES WILL BE LOST DURING FUTURE UPDATE.
-->
== Random Array Item(Array) ==
 
[[File:YlandsTile-214.png]]
 
<pre>static randomArrayItem(array: any[]): any;</pre>
=== Parameters ===
 
==== array ====
 
=== Returns ===
 
'''any''' Returns a value of '''randomly''' chosen cell of the array.
 
=== Description ===
 
Returns a value of '''randomly''' chosen cell of the array.




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


[[Category: Instructions]]
[[Category: Instructions]]
[[Category: Ylands 0.10]]

Latest revision as of 15:23, 24 November 2023