Tile - YPlayerRole - Players – 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}}}}")
 
(3 intermediate revisions by one other user not shown)
Line 1: Line 1:
[[Image:{{PAGENAME}}.png]]
<!---
THIS PAGE WAS GENERATED AUTOMATICALLY; DO NOT EDIT IT, OTHERWISE YOUR CHANGES WILL BE LOST DURING FUTURE UPDATE.
-->
== Players ==


*Return [[Ylands Game logic - Player role|'''role''']] of target '''character'''.
[[File:YlandsTile-540-get.png]]


*Returns whenever target '''character''' have assigned given [[Ylands Game logic - Player role|'''role''']].
<pre>get players(): YCharacter[];</pre>
=== Availability ===


*Allows to change [[Ylands Game logic - Player role|'''role''']] of target '''character'''.
[[Ylands:Tile Availability - Server|Server]]
**Reset equipment - Will set character equipment (i.e armor) to one defined by the [[Ylands Game logic - Player role|'''role''']].
**Reset inventory - Will set character inventory to one defined by the [[Ylands Game logic - Player role|'''role''']].


*Returns list of players of selected [[Ylands Game logic - Player role|'''role''']].
=== Description ===
 
Returns an array of '''players''' with the specified '''role'''.




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


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

Latest revision as of 14:26, 24 November 2023