O
OriginalGrim
Guest
I'm having a script basically repeat itself to draw text in a certain way but when I try to have it run the text won't be placed right
create
script
so what happens is the word goes flying across the screen or is stuck in a loop when I program _X to += 1 and I can't think of a way to have it so that each new version of the same script that plays will hold the current _X value and never change.
I basically want it so the script runs and when it determines what _X currently is it changes from the variable (_X) to the number it currently is or holds it as is. In other words how do I make a variables value at the time permanent.
create
Code:
_x[0-3]
_X = 0
Code:
draw_text(_x[_X], y, "text");
I basically want it so the script runs and when it determines what _X currently is it changes from the variable (_X) to the number it currently is or holds it as is. In other words how do I make a variables value at the time permanent.