Hello.
I'm a little stuck, so I'll explain my problem.
I'm trying to get an npc to move in two directions, back and forth in a loop.
I've managed to get it to move in the first place, but I can't loop it.
Here's what I've tried;
Sticking "While" before and after the move lines, I've used the flag name, but I don't know the operation (so I left that blank, then stuck the two lines of code that move next to it, seperated by a comma.)I aslo declared that the flag is set too.
I've also tried an "If" statement, that didn't work either.
here's the bit of code, maybe one of you cleverclogs can crack it.
set nopkzone
while nopkzone, move -17,0,2,; move 17,0,0.4,;}
The error is "expected format set: string"
the "If" is exactly the same, with the same error.
Why isn't there just a "loop" command? Makes my life easier.
Also, I'm using the offline editor. I have a few other minor problems aswell, I'll post them later.
Thanks.