In my textbox system, I am using as many arguments as I can for groups of text in a conversation, like so:
global.c1 = argument0
global.c2 = argument1
global.c3 = argument2
global.c4 = argument3
global.c5 = argument4
global.c6 = argument5
global.c7 = argument6
global.c8 = argument7
global.c9 = argument8
global.c10 = argument9
global.c11 = argument10
global.c12 = argument11
global.c13 = argument12
global.c14 = argument13
global.c15 = argument14
global.c16 = argument15
I have to use a global variable for each conversation block, so it is a bit redundant.
It's called with the function, so I can easily type out each piece of a conversation like so:
conversation_text(
'Hey',
'Hello world test'
)
But GMstudio naturally wants all 16 arguments that I check, so I get an error until I fill each argument like this:
conversation_text(
'Hey',
'Hello world test',-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1
)
Is there a workaround to this? I know it looks simple but nothing works that allows me to type out any amount of arguments that I want to for each time I call the script.