Thanks
that worked well.
I have another question related to this topic though...
in the code i'm using,
- Code: Select all
if(prest == 0)
{
CreateTimer("Event Actor", "barely", 12);
prest = 1;
};
if(prest == 1)
{
CreateTimer("Event Actor", "barelys2", 12);
prest = 2;
ChangeTransparency("tut_st_y", 1.000000);
EventDisable("tut_st_n", EVENTKEYDOWN);
EventEnable("Event Actor", EVENTKEYDOWN);
};
if(prest = 2)
{
prest = 3;
};
it seems to do all the actions at once. Is it actually doing this, and if so, how do i ensure they stay seperate? or is there no errors here and should i look elsewhere for the problem? btw, this is the result of a activation event from another actor's key down event, which is set to repeat disable, and has a timer before it can be pressed again to send another activation event here so there is time between the checks for the different states of the variables. (it controls a text actor, so i want them to have time to read it.) if that helps any. I'm rather new at using MULTIPLE conditions in one script, if you couldn't tell
PS the timers in THIS script are just used to make this actor change it's own text. they aren't related to the time allowed between key presses.