Shaz

Global Moderators
Global Mod
Joined
Mar 2, 2012
Messages
44,169
Reaction score
15,542
First Language
English
Primarily Uses
RMMV
I've moved this thread to RGSSx Script Support. Please be sure to post your threads in the correct forum next time. Thank you.
 

Sixth

Veteran
Veteran
Joined
Jul 4, 2014
Messages
2,201
Reaction score
854
First Language
Hungarian
Primarily Uses
RMVXA
First thing first, I see you want to use message codes in the text. 


The 'draw_text' method won't convert those, only the 'draw_text_ex' method will do.


Simply joining two strings means to add them together, which can be done with a simple + sign.


text = string1 + string2
draw_text(x,y,w,h,text,align)
# *or*
draw_text_ex(x,y,text)


Just like the above example shows.


So, you add them up before you draw them.


If this is not what you mean, you will have to add more information.


Like:


Where exactly you want to do this?


Why do you need this?


You could also explain those examples you wrote.
 

Latest Threads

Latest Profile Posts

Nightmare... Dreamt I posted a GFX resource post. With a work in progress glove icon that tinted to different colors. In the wrong forum. And I was in such a panic. I saw people writing posts in response, those "..." you see in discord and such. So I frantically tried to report my post as wrong forum, editing to say it's the wrong forum and that I "accidentally" posted it too early... Very odd dream to be honest...
The youngest photo of you is also the oldest photo of you.
People need to stop submitting their game to every single game jam without even reading the jam rules (╯°□°)╯︵ ┻━┻
Mom tested positive for COVID thanks to a single stupid coworker of hers not taking sh*t serious.
I'll prolly won't be on here for a while as we deal with this.
So before I inevitably start a new project to reorganize myself (I will make sure to save important info dw), I will make an external list of what I want in the final database.

Forum statistics

Threads
117,204
Messages
1,105,441
Members
153,343
Latest member
Refaizal
Top