Graal Forums

Graal Forums (https://forums.graalonline.com/forums/index.php)
-   NPC Scripting (https://forums.graalonline.com/forums/forumdisplay.php?f=8)
-   -   addtiledef2 on gmaps. (https://forums.graalonline.com/forums/showthread.php?t=65955)

Rufus 05-10-2006 07:31 PM

addtiledef2 on gmaps.
 
It works for the level, but if you step out of the level it reverts and again when you step back in the level.

Is there any way of getting round this?

Angel_Light 05-11-2006 06:40 AM

addtiledef2("IMAGENAME",LEVELSTART,X,Y,W,H);

if you have something for the level start then only levels that start with that code will aquire that tileset

napo_p2p 05-11-2006 07:42 AM

Are you trying to have different levels on a gmap with different tilesets? That cannot be done (well it can, but it won't be the way you want it to be).

But if you want to same tiles for every gmap level (entirely possible), hopefully all of your gmap levels have the same prefix and you can just add to some kind of system NPC:
PHP Code:

addtiledef2("tilesetimg""levelprefix"xywidthheight); 



All times are GMT +2. The time now is 03:19 PM.

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