Jump to content
  • 0

NPC Dialog Box: setdialogsize, setdialogpos, setdialogalign working codes?


Kouta

Question


  • Group:  Members
  • Topic Count:  5
  • Topics Per Day:  0.10
  • Content Count:  8
  • Reputation:   1
  • Joined:  02/25/25
  • Last Seen:  

Hey, guys!

I was trying to modify a NPC dialog box size and found these codes into doc/script_commands.txt. But nothing happens when running them.

There's anything that need to be done before using them?

// Similar code to the one I was running
prontera,160,160,5	NPC	850, {
  mes "[ NPC Name ]";
  mes "test message";
  setdialogsize(400, 400); // (x, y)
  setdialogalign(DIALOG_ALIGN_CENTER);
  end;
}

 

Thanks in advance. ❤️

  • Like 1
Link to comment
Share on other sites

1 answer to this question

Recommended Posts

  • 0

  • Group:  Members
  • Topic Count:  5
  • Topics Per Day:  0.01
  • Content Count:  22
  • Reputation:   1
  • Joined:  09/11/23
  • Last Seen:  

Same here, I tried but not sure why wasn't working either..

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...