I'm working on an RPG and I'm wanting to create a script so that the characters can move around in predetermined motions for cutscenes.
So my scripts might look like "90, F5, W2" which means "face 90 degrees, forward 5 spaces, wait 2 seconds"
So they are just strings of text that I will read 2 letters at a time, wait for it to finish executing, then move onto the next 2 letters.
My best idea for how to do this is to create an object called "script" and to give it instance text variables that will contain the text.
Does anyone know of a better way to go about it such as using a textbox or maybe reading an actual .txt file somehow?