Graal Forums

Graal Forums (https://forums.graalonline.com/forums/index.php)
-   NPC Scripting (https://forums.graalonline.com/forums/forumdisplay.php?f=8)
-   -   More Newbie Scripter Help Tools (https://forums.graalonline.com/forums/showthread.php?t=30637)

Logo 06-02-2002 09:15 AM

More Newbie Scripter Help Tools
 
1 Attachment(s)
try to disect this ;)

it is for a project i had, never finished it

Logo 06-02-2002 09:29 AM

Quote:

Originally posted by Kaimetsu
...I can't figure out how to make this work. I press S to turn the thing on (which doesn't have any graphics, by the way) and then it simply ignores any further attempts to interact. And why are you using a 0.1 timeout? And why are you using strings?
BECAUSE I WANT

it's only one

and don't be on the edge of the level.

let me see...

oh and i was using a .1 timeout because i can't tell a different between .1 and .05 :cool:

Logo 06-02-2002 09:32 AM

works fine for me

Press up, down, left, right, etc.

but to turn you have to be accelerating or reversing :cool:

Logo 06-02-2002 09:37 AM

first press S, the press Up or Down on the keyboard to move back and forth through the "river", and while press Up or Down press Right of Left. that would of been for dodging rocks, etc.

you can also accelerate by press A and reverse by pressing D, but i do not recommend it ;|

Python523 06-02-2002 09:40 AM

there is a big difference between .05 and .1, just try this NPC first
NPC Code:

if (created) {
setarray traillen,7;
timeout=.05;
}
if(timeout){
update();
timeout=.05;
}
function update(){
h=.1;
for(i=0;i<arraylen(traillen);i++){
showimg i,light4.png,mousex-3.5,mousey-3.5;
changeimgvis i,3;
changeimgzoom i,.5;
changeimgcolors i,1,0,0,h;
sleep .05;
h+=.1;
}
}


then change the timeout and sleep to .1, you dont notice anything at first but if you pcik the speed up, there is a big difference
btw: I know that script isn't so good, i might improove on it if I get bored

Logo 06-02-2002 09:42 AM

i know, but i only used .1 for the initial timeout

the rest of it was all 0.05

BBflat 06-02-2002 11:26 PM

Quote:

Originally posted by Logo
i know, but i only used .1 for the initial timeout

the rest of it was all 0.05

And the only way for us to forgive you is for you to change it back to .05.

TigerKenneth 06-20-2002 12:28 PM

i figured it out too and it works for me

leimoubai2002 06-20-2002 12:47 PM

Thats really cool.Maybe they could turn it into a racing event.
-DarkRiki

user13-xo 06-20-2002 12:49 PM

This thread is about 20 days old already

davidpsy 06-21-2002 09:13 AM

i dont have the imgs or the gani it does not work for me please help

mikepg 06-21-2002 09:25 AM

eh..
 
it's okay david, just let it go....just let it go.

You missed this topic 18 days ago, just let it go.


All times are GMT +2. The time now is 06:51 PM.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.