Graal Forums  

Go Back   Graal Forums > Development Forums > NPC Scripting
FAQ Members List Calendar Today's Posts

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 06-02-2002, 09:15 AM
Logo Logo is offline
Banned
Join Date: Nov 2001
Posts: 377
Logo is on a distinguished road
Send a message via AIM to Logo
More Newbie Scripter Help Tools

try to disect this

it is for a project i had, never finished it
Attached Files
File Type: nw new7.nw (11.3 KB, 243 views)
Reply With Quote
  #2  
Old 06-02-2002, 09:29 AM
Logo Logo is offline
Banned
Join Date: Nov 2001
Posts: 377
Logo is on a distinguished road
Send a message via AIM to Logo
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
Reply With Quote
  #3  
Old 06-02-2002, 09:32 AM
Logo Logo is offline
Banned
Join Date: Nov 2001
Posts: 377
Logo is on a distinguished road
Send a message via AIM to Logo
works fine for me

Press up, down, left, right, etc.

but to turn you have to be accelerating or reversing
Reply With Quote
  #4  
Old 06-02-2002, 09:37 AM
Logo Logo is offline
Banned
Join Date: Nov 2001
Posts: 377
Logo is on a distinguished road
Send a message via AIM to Logo
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 ;|
Reply With Quote
  #5  
Old 06-02-2002, 09:40 AM
Python523 Python523 is offline
Banned
Join Date: Aug 2001
Location: Illinois
Posts: 3,498
Python523 is on a distinguished road
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
Reply With Quote
  #6  
Old 06-02-2002, 09:42 AM
Logo Logo is offline
Banned
Join Date: Nov 2001
Posts: 377
Logo is on a distinguished road
Send a message via AIM to Logo
i know, but i only used .1 for the initial timeout

the rest of it was all 0.05
Reply With Quote
  #7  
Old 06-02-2002, 11:26 PM
BBflat BBflat is offline
Registered User
BBflat's Avatar
Join Date: Apr 2002
Location: United States of America
Posts: 573
BBflat is on a distinguished road
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.
Reply With Quote
  #8  
Old 06-20-2002, 12:28 PM
TigerKenneth TigerKenneth is offline
Registered User
Join Date: Jun 2002
Location: Idaho
Posts: 6
TigerKenneth is on a distinguished road
i figured it out too and it works for me
__________________
Duo_Xan Of D_C
Reply With Quote
  #9  
Old 06-20-2002, 12:47 PM
leimoubai2002 leimoubai2002 is offline
Banned
Join Date: May 2002
Location: BUTTER AND CRACKers
Posts: 430
leimoubai2002 is on a distinguished road
Send a message via AIM to leimoubai2002
Thats really cool.Maybe they could turn it into a racing event.
-DarkRiki
Reply With Quote
  #10  
Old 06-20-2002, 12:49 PM
user13-xo user13-xo is offline
Registered User
Join Date: Nov 2001
Location: California
Posts: 297
user13-xo is on a distinguished road
Send a message via AIM to user13-xo
This thread is about 20 days old already
Reply With Quote
  #11  
Old 06-21-2002, 09:13 AM
davidpsy davidpsy is offline
Over Nine THOUSAND!!!!!!!
davidpsy's Avatar
Join Date: Mar 2002
Location: Bandiria
Posts: 5,514
davidpsy is on a distinguished road
Send a message via AIM to davidpsy
i dont have the imgs or the gani it does not work for me please help
__________________
-Donald Shimoda
Level oo.

Forces greater than your self, can be over come.
Reply With Quote
  #12  
Old 06-21-2002, 09:25 AM
mikepg mikepg is offline
Registered User
Join Date: Nov 2001
Location: VA, USA
Posts: 501
mikepg is on a distinguished road
Send a message via AIM to mikepg Send a message via Yahoo to mikepg
eh..

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

You missed this topic 18 days ago, just let it go.
__________________
~War Lord Mpg2
Bravo Online's Asst. Staff Manager

"Sittin by the tree, sippin eggnog, waitin on christmas gifts"
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 06:41 AM.


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