Graal Forums

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

WanDaMan 04-02-2004 04:21 PM

Tiles..
 
How would I make it so you can walk over some tiles and then not over some others?
without having to re-arrange my tileset..?
-thanks :)

Dach 04-02-2004 04:44 PM

re-scripting movement
-or-
do a tricky check for the tiles infront of player, if you want them to go over, move the player

The first is much better, however.

WanDaMan 04-02-2004 04:53 PM

Quote:

Originally posted by Dach
re-scripting movement
-or-
do a tricky check for the tiles infront of player, if you want them to go over, move the player

The first is much better, however.

Alexander told me the same over aim. It dosn't matter, I'll guess I'll just have to move the tiles o.O! :(

osrs 04-02-2004 06:16 PM

1 Attachment(s)
A whole tile-check system or a new movement system, but as Chad said, a movement system would be better.

WanDaMan 04-02-2004 06:21 PM

Quote:

Originally posted by osrs
A whole tile-check system or a new movement system.
You're a life saver!

Dach 04-02-2004 07:07 PM

smeh, I would prefer in, let graal do all the crunch work, it's more noticable with a larger array though

NPC Code:

if (tile in tile_block) {
blockorwhateverplayerstuff;
}


WanDaMan 04-02-2004 09:21 PM

Quote:

Originally posted by Dach
smeh, I would prefer in, let graal do all the crunch work, it's more noticable with a larger array though

NPC Code:

if (tile in tile_block) {
blockorwhateverplayerstuff;
}


Do you mean in an array? with the command:
'if(playerx in |,|)'
?

osrs 04-02-2004 09:48 PM

Quote:

Originally posted by WanDaMan

Do you mean in an array? with the command:
'if(playerx in |,|)'
?

That's an event block, not a command. :P

WanDaMan 04-02-2004 09:50 PM

Quote:

Originally posted by osrs


That's an event block, not a command. :P
I didn't get what he said too.

Bah I'll just have to re-arrange!! :(

Dach 04-03-2004 12:35 AM

Look at the example, in works the way I put it. You don't have to use it with |a,b| :P

WanDaMan 04-03-2004 11:24 AM

Quote:

Originally posted by Dach
Look at the example, in works the way I put it. You don't have to use it with |a,b| :P
Eh, is that possible?

Loriel 04-03-2004 12:50 PM

No, it is NOT! That is why he SAID it would work!
Without critical thinkers like you, we would be lost.

WanDaMan 04-03-2004 01:02 PM

you're lucky to have me.


All times are GMT +2. The time now is 06:49 PM.

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