Jump to content
  • 0

SpriteNPCHandle


Dragonis1701

Question


  • Group:  Members
  • Topic Count:  47
  • Topics Per Day:  0.01
  • Content Count:  99
  • Reputation:   8
  • Joined:  05/25/12
  • Last Seen:  

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?

Link to comment
Share on other sites

3 answers to this question

Recommended Posts

  • 0

  • Group:  Members
  • Topic Count:  94
  • Topics Per Day:  0.02
  • Content Count:  2192
  • Reputation:   253
  • Joined:  11/11/11
  • Last Seen:  

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
Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  47
  • Topics Per Day:  0.01
  • Content Count:  99
  • Reputation:   8
  • Joined:  05/25/12
  • Last Seen:  

Thank you~

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  46
  • Topics Per Day:  0.02
  • Content Count:  267
  • Reputation:   40
  • Joined:  01/19/17
  • Last Seen:  

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?

Link to comment
Share on other sites

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.

×
×
  • Create New...