Graal Forums

Graal Forums (https://forums.graalonline.com/forums/index.php)
-   NPC Scripting (https://forums.graalonline.com/forums/forumdisplay.php?f=8)
-   -   Tiles & Layers (https://forums.graalonline.com/forums/showthread.php?t=49971)

dlang 12-28-2003 04:21 PM

Tiles & Layers
 
Is it possible to use an npc to set an array of tiles over the normal layer of tiles?

osrs 12-28-2003 04:23 PM

tiles[x,y] ?

dlang 12-28-2003 04:32 PM

Yes but have it above the rest of the tiles.
Like so the player can walk under it?

Btw how can I set an array of tiles by not using

tiles[x,y] = 0x1;

seperately?

but instead by using
{
0x0, 0x1,
0x10, 0x11,
0x20, 0x21
}

Loriel 12-28-2003 05:19 PM

Quote:

Originally posted by dlang
Yes but have it above the rest of the tiles.
Like so the player can walk under it?

Not possible.

Quote:

Btw how can I set an array of tiles by not using ...
It is quite easy to have a loop iterate over the array.

dlang 12-28-2003 05:22 PM

Well then could you give the script? :)

Python523 12-28-2003 05:25 PM

Quote:

Originally posted by dlang
Well then could you give the script? :)
No. Read this section's rules.

osrs 12-28-2003 05:30 PM

Create a array with the tile datas then a for loop so use tiles[x,y].
I've posted a little example but Loriel deleted. :P

dlang 12-28-2003 08:18 PM

Private message then ;O

Python523 12-28-2003 08:27 PM

Quote:

Originally posted by dlang
Private message then ;O
I hope you know you are not helping yourself at all, you are taking the whimpy way out, at this rate you will never learn how to script.


All times are GMT +2. The time now is 10:17 AM.

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