Jump to content

Changebase/Disguise NPCs


Azura Skyy

Recommended Posts


  • Group:  Members
  • Topic Count:  49
  • Topics Per Day:  0.01
  • Content Count:  545
  • Reputation:   220
  • Joined:  03/01/13
  • Last Seen:  

Currently we have the @disguise command which allows us to diguise as NPCs and Mobs. We also have the changebase script command, allowing us to disguise our character as another job class. I'm wondering if we could make these work with NPCs in some way.

While talking to Stolao about a script where you would see an NPC change over time, he concluded that he'd have to use multiple NPCs since they can't be disguised. Made me think we could benefit from a script command to disguise them.

Thanks for your consideration,
~Azura Skyy

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  82
  • Topics Per Day:  0.02
  • Content Count:  846
  • Reputation:   137
  • Joined:  02/26/14
  • Last Seen:  

Currently we have the @disguise command which allows us to diguise as NPCs and Mobs. We also have the changebase script command, allowing us to disguise our character as another job class. I'm wondering if we could make these work with NPCs in some way.

While talking to Stolao about a script where you would see an NPC change over time, he concluded that he'd have to use multiple NPCs since they can't be disguised. Made me think we could benefit from a script command to disguise them.

Thanks for your consideration,

~Azura Skyy

If I recall there actually is a script command to do this. I'll have to do some digging to find it.

*setnpcdisplay("<npc name>", "<display name>", <class id>, <size>)
*setnpcdisplay("<npc name>", "<display name>", <class id>)
*setnpcdisplay("<npc name>", "<display name>")
*setnpcdisplay("<npc name>", <class id>)

Changes the display name and/or display class of the target NPC.
Returns 0 is successful, 1 if the NPC does not exist.
Size is 0 = normal 1 = small 2 = big.

I believe it's the class ID you want to change.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  49
  • Topics Per Day:  0.01
  • Content Count:  545
  • Reputation:   220
  • Joined:  03/01/13
  • Last Seen:  

https://rathena.org/wiki/Setnpcdisplay

I hate automated events so much that I forgot about the disguise npc event and that it has to use a function that already does this. Looking through the scripting commands I completely passed over it.

Next issue I guess,
~Azura Skyy

Link to comment
Share on other sites


  • Group:  Developer
  • Topic Count:  48
  • Topics Per Day:  0.01
  • Content Count:  1443
  • Reputation:   337
  • Joined:  10/17/12
  • Last Seen:  

Hmm this is very good to know, ty I've never noticed this in my script_command. txt till now -_-

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  49
  • Topics Per Day:  0.01
  • Content Count:  545
  • Reputation:   220
  • Joined:  03/01/13
  • Last Seen:  

Hmm this is very good to know, ty I've never noticed this in my script_command. txt till now -_-

 

Lets pertained that this is a learning experience and forget how silly we are.

Regards,

~Azura Skyy

Link to comment
Share on other sites

×
×
  • Create New...