Tile - YCharacter - Change Role – Ylands
Jump to navigation
Jump to search
(Created page with "<!--- THIS PAGE WAS GENERATED AUTOMATICALLY; DO NOT EDIT IT, OTHERWISE YOUR CHANGES WILL BE LOST DURING FUTURE UPDATE. --> == Change Role(Character, Role, Reset equipment, Res...") |
Lou Montana (talk | contribs) m (Text replacement - "{{DEFAULTSORT:{{#sub:{{PAGENAME}}|14}}}}" to "{{DEFAULTSORT:{{#sub:{{PAGENAME}}|7}}}}") |
||
(One intermediate revision by one other user not shown) | |||
Line 10: | Line 10: | ||
==== role ==== | ==== role ==== | ||
New role | |||
==== resetEquip ==== | ==== resetEquip ==== | ||
Whether the equipment will be reset to role default | |||
==== resetInventory ==== | ==== resetInventory ==== | ||
Whether the inventory will be reset to role default | |||
=== Availability === | |||
[[Ylands:Tile Availability - Server|Server]] | |||
=== Description === | === Description === | ||
Allows to change '''role''' of target '''character'''. | Allows to change '''role''' of target '''character'''. | ||
---- | ---- | ||
{{Navbox/Ylands}} | {{Navbox/Ylands}} | ||
{{DEFAULTSORT:{{#sub:{{PAGENAME}}| | {{DEFAULTSORT:{{#sub:{{PAGENAME}}|7}}}} | ||
[[Category: Instructions]] | [[Category: Instructions]] |
Latest revision as of 14:24, 24 November 2023
Change Role(Character, Role, Reset equipment, Reset inventory)
changeRole(role: YPlayerRole, resetEquip: boolean, resetInventory: boolean): void;
Parameters
role
New role
resetEquip
Whether the equipment will be reset to role default
resetInventory
Whether the inventory will be reset to role default
Availability
Description
Allows to change role of target character.