Graal Forums

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

GULTHEX 02-16-2009 01:29 AM

tileset
 
i put this in the level editor npc
[PHP]
if (created) {removetiledefs;
addtiledef dg-tileset.png,#L,0;[PHP]

then it shows the tileset on the level editor

but when i upload the level to the server it dont showup when i go on it


then it shows this in rc when i enter the level

Script: Function addtiledef not found at line 2 in script of npcs[0] (in level entropolis_00-001.nw at pos (49, 33))


can ya tell me the prob

and if you tell me theres somthin wrong with the script

show me the correct script

Tigairius 02-16-2009 01:37 AM

Need //#CLIENTSIDE at the top at least.

cbk1994 02-16-2009 06:14 AM

Tig is right, but I also explained a bit better here:

http://forums.graalonline.com/forums...07&postcount=2


All times are GMT +2. The time now is 11:45 AM.

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