can someone please explain to me how to use the script_execute_alt function
better yet, please explain how do i execute 2 or more different scripts at the same time after going through the dialogue line like:
i++;
myText[i] = "lets go!"
mySpeaker[i] = id;
myScripts[i] = [script_room_goto, room_2]
I want two scripts to happen - room_goto which is working fine but also another script for switching the image_index, how do I do that?
Hey there!
A simple way to do this is use the script event to trigger multiple actions by setting up the condition within the dialog child.
// create
nextroom2 = 0;
//step
if (nextroom2 == 1)
{room_goto(room_2); image_index = new_index; nextroom2 = 0}
//User Event 0 (your dialog script)
[ChooseVariable,object_name,"nextroom2","1"]