Graal Forums

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

ownerofbabylon 09-06-2001 02:41 AM

moving tiles?
 
I am just wondering about if its possible to make tiles move with a gif? I have had several instances where this would be needed but i dont know if its possible.

First off I want to make a latter that can be pulled from side to side but i dont know how to make the tiles work on it if its moved. Does anyone have any idea how to do this?

Jerom 09-06-2001 03:26 AM

Re: moving tiles?
 
Quote:

Originally posted by ownerofbabylon
I am just wondering about if its possible to make tiles move with a gif? I have had several instances where this would be needed but i dont know if its possible.

First off I want to make a latter that can be pulled from side to side but i dont know how to make the tiles work on it if its moved. Does anyone have any idea how to do this?

Solution:
1)setgifpart
2)pics1.png
3)NPC scripting

Yakuna2001 09-06-2001 03:34 AM

Re: Re: moving tiles?
 
Quote:

Originally posted by Jerom

Solution:
1)setgifpart
2)pics1.png
3)NPC scripting

agreed. this is kinda like what they were talking about in personalized room subject, moving satuff about. ask kaimetsu

ownerofbabylon 09-06-2001 07:23 AM

but is it possible to keep the tile definitions once its moved? say a dragable chair and still be able to sit where it is.

KJS 09-06-2001 07:52 AM

Quote:

Originally posted by ownerofbabylon
but is it possible to keep the tile definitions once its moved? say a dragable chair and still be able to sit where it is.
you can fisically move the tiles using the board array (but it would only work in p2p servers and clientside)...

or else you can use

setshape2 width,height,{tiletypes,...}

tiletypes
0 nonblocking
2 hurting underground
3 chair
4 bed upper side
5 bed lower side
6 swamp
7 lava swamp
8 near water
9 near lava
11 water
12 lava
20 throw-through (fences)
21 jumping stone
22 blocking tile

chime 09-07-2001 02:59 AM

you can make it lay a npc using txt if its in a certain position easy eay to do it


All times are GMT +2. The time now is 08:46 AM.

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