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...") |
No edit summary |
||
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'''. | ||
Revision as of 11:16, 12 November 2021
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.