![]() |
Tile Question
How do you script a thing that can only be used on Snow or water or something?
|
I believe that is board[].
commands.rtf if you have questions. |
~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] |
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) |
~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* |
~AlphaFlame~
Alright alright! Let them WAIT for the new version! Sheesh... :p Now they'll all be trying that and not having it work and be like "why r not this wrk!?" |
if you want the address to the new version ill pm it to you, just ask
|
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 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;).
|
if(tile[x,y]=#){whatever}
|
Quote:
|
i didnt encounter any bugs in any of the test versions
|
~AlphaFlame~
Quote:
Besides, I'm a Snow Leopard. *uses Delteria as a scratching post* |
if(board[tilex+64*tiley]=cetaintile#){do this}
|
~AlphaFlame~
Oh yes, I should probably add that the tilex and tiley must not have a decimal... it messes it up a bit. |
Quote:
|
| All times are GMT +2. The time now is 07:44 AM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.