I am trying to use the \N[actor ID] text command in nameboxes made with Khas's Message System (http://arcthunder.blogspot.com/p/khas-message-system.html), but it just comes up with no namebox to be seen. Can anyone edit it to make so that the \N[] text command is compatible with the name box function of the script, please?
Make \N[actor ID] compatible with the namebox from Khas's Message System?
RGSS3 Script Requests\N is a default message code. it should be compatible by default - if it is not, then you have something in your scripts that prevents this from working.
Please give us a screenshot of your script editor scrolled to the materials section so that we can see what other scripts you have installed in which order.
Please give us a screenshot of your script editor scrolled to the materials section so that we can see what other scripts you have installed in which order.
No, it is not a default for custom scripts, especially because the default engine got no name box at all.
Khas' script uses draw_text not draw_text_ex, and only the latter supports these message codes.
Also, an equally important fact is that Khas' script uses sprites and not windows to make these text boxes, which means there is no draw_text_ex method to be used on these objects.
Reading the description of the script (which is surprisingly short), it seems that there is a new message code that should change the text in the namebox:
Code:
\a[actor]
@Sixth \a[actor] only calls up a name that is in the editable list. That is how the namebox works off of to begin with.
Addon: https://github.com/theoallen/RGSS3/blob/master/Addons/Khas Message System - Actor Name Addon.rb
It's not perfect, but works at least.
If posting this is undesirable, please let me know.
It was regex error. Updated now.
Also im actually more active in discord.
Also im actually more active in discord.
Many thanks again.
Thread closed IgnoreMe
Original thread: https://forums.rpgmakerweb.com/threads/make-n-actor-id-compatible-with-the-namebox-from-khass-message-system.108102/
