Hm, well I haven't seen you do too many loops recently.
Try just a regular NPC script of something moving.
If you need help, try these:
http://youtu.be/WPNwXCynd8c
http://youtu.be/CN0IvBmWrkk
Hm, well I haven't seen you do too many loops recently.
Try just a regular NPC script of something moving.
If you need help, try these:
http://youtu.be/WPNwXCynd8c
http://youtu.be/CN0IvBmWrkk
im running into a problome with my script the loop doesent seem to be working, i even got frustrated so i tried and used his script and it still did not work so here it is.
PHP Code:
function onCreated() {
showcharacter();
this.head = "head0.png";
this.colors[0] = "orange";
this.colors[1] = "white";
this.colors[2] = "blue";
this.colors[3] = "red";
this.colors[4] = "black";
this.shield = "no-shield.png";
this.dir = 2;
setcharani("idle",NULL);
}
function onPlayerEnters() {
for(temp.i = 0;temp.i <= 20;temp.i = temp.i + 0.2) {
this.x = temp.i;
sleep(0.1)
}
}
Noof was here.
Are you using it on the offline editor or on a Playerworlds server?
I already started the Graal Operating System last year, you can continue it if you want.
-Johnaudi
I want you to script me a program that can teach me how to script.
I also want to learn scripting so me four