Jump to content

Question

Posted

Is there a handle for Job Sprites? With the new 3rd Jobs sprites from jRO, is there a way to have an npc change the job sprite a player currently has via a script command in an npc, for example, like the stylist?

3 answers to this question

Recommended Posts

  • 0
Posted

Normally you would use the Dress Room to switch the char's outfit to the Alternative one. 

 

https://github.com/rathena/rathena/commit/d70b1734c8bff8a27d8251b2d16d43e7b309cb64

 

 

*opendressroom({<char_id>});

This will open the Dress Room window on the client connected to the invoking character.

    mes "Close this window to open the Dress Room window.";
    close2;
    opendressroom;
    end;

---------------------------------------

*closedressroom({<char_id>});

This will close an open Dress Room window on the client connected to the invoking character.

    mes "Close this window to close the Dress Room window.";
    close2;
    closedressroom;
    end;
  • Upvote 1
  • 0
Posted
On 5/31/2016 at 7:47 AM, Mystery said:

Normally you would use the Dress Room to switch the char's outfit to the Alternative one. 

 

https://github.com/rathena/rathena/commit/d70b1734c8bff8a27d8251b2d16d43e7b309cb64

 

 

 


*opendressroom({<char_id>});

This will open the Dress Room window on the client connected to the invoking character.

    mes "Close this window to open the Dress Room window.";
    close2;
    opendressroom;
    end;

---------------------------------------

*closedressroom({<char_id>});

This will close an open Dress Room window on the client connected to the invoking character.

    mes "Close this window to close the Dress Room window.";
    close2;
    closedressroom;
    end;

closedressroom doesn't work anymore?

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...