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-02-2001, 07:42 AM
SSRobgeta SSRobgeta is offline
Ebil Cloud = l337 *kupo*
SSRobgeta's Avatar
Join Date: Aug 2001
Location: Monroeville, PA
Posts: 1,084
SSRobgeta is on a distinguished road
Send a message via AIM to SSRobgeta
Tile Question

How do you script a thing that can only be used on Snow or water or something?
__________________
Rob Getashu
Anyone can show you the way, but the real adventure is finding it yourself..
Reply With Quote
  #2  
Old 10-02-2001, 08:15 AM
Shard_IceFire Shard_IceFire is offline
Registered User
Shard_IceFire's Avatar
Join Date: Jun 2001
Location: Eastern Harkoonia
Posts: 861
Shard_IceFire is on a distinguished road
I believe that is board[].
commands.rtf if you have questions.
__________________

-=Shard IceFire=-
Reply With Quote
  #3  
Old 10-02-2001, 08:38 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~

Use this to check for tiles:

board[the-x+the-y*64]=tile-x+tile-y*16;

Replace the colored parts with the correct value.

[edit]Almost forgot - to check for water, use onwater(x,y)[/edit]
__________________


If the post says ~AlphaFlame~, that's who's posting. If not, it's Entravial (owner)
Reply With Quote
  #4  
Old 10-02-2001, 08:59 AM
KJS KJS is offline
The one, The only -
KJS's Avatar
Join Date: Apr 2001
Location: USA, Minnesota
Posts: 1,012
KJS is on a distinguished road
Send a message via AIM to KJS
in the graal test versions there is a new command

tiles[x,y]

and if you go like

tiles[-23,72]

it will go to the next level (its really neat i think how it goes inbetween levels and all)
__________________
Thanks,
-KJL
Reply With Quote
  #5  
Old 10-02-2001, 09:01 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~

Oh great, KJL, look what you've started. Now he's gonna ask where the test version is, then some other people will see this and they'll ask, and then more people will see and ask, and so on and so on until all you see is "were iz test gral?!" all over the place.

It's a sad days for monkeys everywhere. ... ESPECIALLY SINCE THERES NO CRYING EMOTICION ON HERE!! *throws fit*
__________________


If the post says ~AlphaFlame~, that's who's posting. If not, it's Entravial (owner)
Reply With Quote
  #6  
Old 10-02-2001, 09:04 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~

Alright alright! Let them WAIT for the new version! Sheesh...

Now they'll all be trying that and not having it work and be like "why r not this wrk!?"
__________________


If the post says ~AlphaFlame~, that's who's posting. If not, it's Entravial (owner)
Reply With Quote
  #7  
Old 10-02-2001, 07:21 PM
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 you want the address to the new version ill pm it to you, just ask
Reply With Quote
  #8  
Old 10-02-2001, 10:29 PM
PresShinP2P PresShinP2P is offline
Registered User
Join Date: Oct 2001
Location: Screw it
Posts: 84
PresShinP2P is on a distinguished road
Send a message via AIM to PresShinP2P
is the new version free of bugs.
i know where to get it i just want to be sure its not going to be *** and mess stuff up
__________________
President Shinra
Reply With Quote
  #9  
Old 10-03-2001, 12:04 AM
JeffTL JeffTL is offline
Registered User
Join Date: Sep 2001
Posts: 374
JeffTL is on a distinguished road
I have a quick question...would anyone mind to clarify the way to check a tile with a sample script? I'm not asking anything complicated...just a quick script to check a tile and, if it's the right tile, (setplayerprop #c,yep.
__________________
Reply With Quote
  #10  
Old 10-03-2001, 12:48 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(tile[x,y]=#){whatever}
Reply With Quote
  #11  
Old 10-03-2001, 12:49 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 PresShinP2P
is the new version free of bugs.
i know where to get it i just want to be sure its not going to be *** and mess stuff up
i have not encountered any bugs
Reply With Quote
  #12  
Old 10-03-2001, 01:29 AM
AlexH AlexH is offline
Have A Drink On Me
AlexH's Avatar
Join Date: Jun 2001
Location: Somewhere In Time
Posts: 7,442
AlexH is on a distinguished road
Send a message via AIM to AlexH Send a message via MSN to AlexH
i didnt encounter any bugs in any of the test versions
__________________
QUICK LOOK BUSY JESUS IS COMING!
Reply With Quote
  #13  
Old 10-03-2001, 04:01 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~

Quote:
You're not a monkey.
Never said I was, Kaimetsu. I said that it was a sad day for monkies everywhere, but I did not specifically refer to myself. Tada.

Besides, I'm a Snow Leopard. *uses Delteria as a scratching post*
__________________


If the post says ~AlphaFlame~, that's who's posting. If not, it's Entravial (owner)
Reply With Quote
  #14  
Old 10-03-2001, 04:06 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[tilex+64*tiley]=cetaintile#){do this}
Reply With Quote
  #15  
Old 10-03-2001, 04:32 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~

Oh yes, I should probably add that the tilex and tiley must not have a decimal... it messes it up a bit.
__________________


If the post says ~AlphaFlame~, that's who's posting. If not, it's Entravial (owner)
Reply With Quote
  #16  
Old 10-07-2001, 07:19 AM
SSRobgeta SSRobgeta is offline
Ebil Cloud = l337 *kupo*
SSRobgeta's Avatar
Join Date: Aug 2001
Location: Monroeville, PA
Posts: 1,084
SSRobgeta is on a distinguished road
Send a message via AIM to SSRobgeta
Quote:
Originally posted by btedji
if(board[tilex+64*tiley]=cetaintile#){do this}
Whats the new version of graal and should this work?
__________________
Rob Getashu
Anyone can show you the way, but the real adventure is finding it yourself..
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 04:37 PM.


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