Graal Forums

Graal Forums (https://forums.graalonline.com/forums/index.php)
-   NPC Scripting (https://forums.graalonline.com/forums/forumdisplay.php?f=8)
-   -   Tiletype (real,real)? (https://forums.graalonline.com/forums/showthread.php?t=27460)

XeroMaster 04-14-2002 11:55 AM

Tiletype (real,real)?
 
how do you use that command?

is it
NPC Code:
tiletypewater (x,y)



and also how do you use (I know i cant use it offline but i just want to know to become a better scripter)

setz real,real,real,real,real,real;

Saga2001 04-14-2002 06:29 PM

Well, purely because I am doing some documentation for Graal2002, I have figured out setz. ;).
setz x, y, width, height, rise of left top, rise of right top, rise of bottom left, rise of bottom right;

Its kinda funny how it works...but it works (gmaps).

Spanko 04-14-2002 06:34 PM

Quote:

Originally posted by Saga2001
Well, purely because I am doing some documentation for Graal2002, I have figured out setz. ;).
setz x, y, width, height, rise of left top, rise of right top, rise of bottom left, rise of bottom right;

Its kinda funny how it works...but it works (gmaps).

It should contain a bumpiness value as well in my opinion, otherwise it looks to scarily flat/straight.

XeroMaster 04-17-2002 08:06 AM

tiletype...
 
could you explain tiletype (real,real) a little better?

can it alow you to walk on tiles you cant walk on, if so, how do you use it?

XeroMaster 04-17-2002 08:15 PM

you said
Quote:

tiletype(x,y) returns the type of tile on x,y.
what dose it return the tile type to?

So I would like to know it there is a way to use this script to make you able to walk on 1 or 2 blocking tiles
(so you might be able to walk oh trees, but sill not walk on house and other things)

Falcor 04-17-2002 08:41 PM

You know what you do when you use setshape2?

You put in the tile type for every tile you are setting in that NPC.. Well tiletype(x,y) will return that value, but on the scale over the whole map. So a normal blocking tile would be returned as 22. Grass would return as 0, etc etc.


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

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