Tile - YCharacter - Change Role – Ylands

From Bohemia Interactive Community
Jump to navigation Jump to search
No edit summary
m (Text replacement - "{{DEFAULTSORT:{{#sub:{{PAGENAME}}|14}}}}" to "{{DEFAULTSORT:{{#sub:{{PAGENAME}}|7}}}}")
 
Line 32: Line 32:
----
----
{{Navbox/Ylands}}
{{Navbox/Ylands}}
{{DEFAULTSORT:{{#sub:{{PAGENAME}}|14}}}}
{{DEFAULTSORT:{{#sub:{{PAGENAME}}|7}}}}


[[Category: Instructions]]
[[Category: Instructions]]

Latest revision as of 15:24, 24 November 2023

Change Role(Character, Role, Reset equipment, Reset inventory)

YlandsTile-510.png

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

Server

Description

Allows to change role of target character.