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 10-07-2001, 02:03 AM
LinksReturn LinksReturn is offline
Registered User
Join Date: Sep 2001
Posts: 92
LinksReturn is on a distinguished road
Send a message via AIM to LinksReturn
*Needs help yet again*

This proabably seems like a noobish question for you ppl, but how could i make it so that i go faster than normal in water or on snow? like ice skates or something...
__________________
-§hakakµ
Head Lat for Andor
Aim: Moe478
E-mail: [email protected]
Reply With Quote
  #2  
Old 10-07-2001, 02:17 AM
btedji btedji is offline
bryan986
btedji's Avatar
Join Date: Apr 2001
Location: Force 10
Posts: 1,153
btedji is on a distinguished road
Send a message via ICQ to btedji Send a message via AIM to btedji Send a message via Yahoo to btedji
your gonna have to use the board[] command to find what tile you are on and then you will have to add a number to the playersx or y depening on their direction to go faster, and you will have to add onwall testing so they cant cheat
Reply With Quote
  #3  
Old 10-07-2001, 02:22 AM
LinksReturn LinksReturn is offline
Registered User
Join Date: Sep 2001
Posts: 92
LinksReturn is on a distinguished road
Send a message via AIM to LinksReturn
x.x, i'm not that good, don't know the board[] stuff (i suck at npc scripting, just learning some stuff now) can u give me an example of how to use it, and how would i start it. Like if(inwater) for example
__________________
-§hakakµ
Head Lat for Andor
Aim: Moe478
E-mail: [email protected]
Reply With Quote
  #4  
Old 10-07-2001, 02:23 AM
btedji btedji is offline
bryan986
btedji's Avatar
Join Date: Apr 2001
Location: Force 10
Posts: 1,153
btedji is on a distinguished road
Send a message via ICQ to btedji Send a message via AIM to btedji Send a message via Yahoo to btedji
if(board[x+64*y]=watertile#){then do this}
Reply With Quote
  #5  
Old 10-07-2001, 02:26 AM
LinksReturn LinksReturn is offline
Registered User
Join Date: Sep 2001
Posts: 92
LinksReturn is on a distinguished road
Send a message via AIM to LinksReturn
uh oh...
that looks complicated
__________________
-§hakakµ
Head Lat for Andor
Aim: Moe478
E-mail: [email protected]
Reply With Quote
  #6  
Old 10-07-2001, 02:27 AM
SagaTCN SagaTCN is offline
Registered User
Join Date: Aug 2001
Location: West Michigan
Posts: 190
SagaTCN is on a distinguished road
Send a message via ICQ to SagaTCN Send a message via AIM to SagaTCN Send a message via Yahoo to SagaTCN
If you have the test version of 2.1 you can also use tiles[x,y]. It's a bit simpler than board[]. -Yin
Reply With Quote
  #7  
Old 10-07-2001, 02:34 AM
btedji btedji is offline
bryan986
btedji's Avatar
Join Date: Apr 2001
Location: Force 10
Posts: 1,153
btedji is on a distinguished road
Send a message via ICQ to btedji Send a message via AIM to btedji Send a message via Yahoo to btedji
Quote:
Originally posted by SagaTCN
If you have the test version of 2.1....
"if" is the great question
Reply With Quote
  #8  
Old 10-07-2001, 02:39 AM
SagaTCN SagaTCN is offline
Registered User
Join Date: Aug 2001
Location: West Michigan
Posts: 190
SagaTCN is on a distinguished road
Send a message via ICQ to SagaTCN Send a message via AIM to SagaTCN Send a message via Yahoo to SagaTCN
True, however the test version was publicized fairly well, and if he doesn't have it there's nothing wrong with using the method you posted above. -Yin
Reply With Quote
  #9  
Old 10-07-2001, 07:51 PM
LinksReturn LinksReturn is offline
Registered User
Join Date: Sep 2001
Posts: 92
LinksReturn is on a distinguished road
Send a message via AIM to LinksReturn
I HAD it, but when the newer versions came out, i just cut and lvls or anything from there, and put them in the new graal folder. I'll try to use that board[] thingy, but i don't know if it will work
__________________
-§hakakµ
Head Lat for Andor
Aim: Moe478
E-mail: [email protected]
Reply With Quote
  #10  
Old 10-08-2001, 02:22 AM
SagaTCN SagaTCN is offline
Registered User
Join Date: Aug 2001
Location: West Michigan
Posts: 190
SagaTCN is on a distinguished road
Send a message via ICQ to SagaTCN Send a message via AIM to SagaTCN Send a message via Yahoo to SagaTCN
test version? lol
__________________

Rogue World
Reply With Quote
  #11  
Old 10-08-2001, 10:05 AM
entravial entravial is offline
Registered User
entravial's Avatar
Join Date: Mar 2001
Posts: 825
entravial is on a distinguished road
Send a message via ICQ to entravial Send a message via AIM to entravial Send a message via Yahoo to entravial
~AlphaFlame~

Just why do you want to use board[] to check for water?

if (onwater(x,y))

Does the same thing.
__________________


If the post says ~AlphaFlame~, that's who's posting. If not, it's Entravial (owner)
Reply With Quote
  #12  
Old 10-08-2001, 10:51 AM
zokemon zokemon is offline
That one guy...
zokemon's Avatar
Join Date: Mar 2001
Location: Sonoma County, California
Posts: 2,925
zokemon is a jewel in the roughzokemon is a jewel in the rough
Send a message via ICQ to zokemon Send a message via AIM to zokemon Send a message via MSN to zokemon Send a message via Yahoo to zokemon
Quote:
Originally posted by entravial
~AlphaFlame~

Just why do you want to use board[] to check for water?

if (onwater(x,y))

Does the same thing.
i think probly why is cuase the board thingy will only check for a certian kind of tile but on water thingy will check for water AND lava
__________________
Do it with a DON!
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 09:09 PM.


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