Graal Forums  

Go Back   Graal Forums > Development Forums > NPC Scripting
FAQ Members List Calendar Today's Posts

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 02-26-2002, 04:17 AM
zell12 zell12 is offline
Gone
zell12's Avatar
Join Date: Jun 2001
Location: Alberta, Canada
Posts: 8,541
zell12 has a spectacular aura about
Send a message via ICQ to zell12 Send a message via AIM to zell12 Send a message via MSN to zell12
settiledef

How do you use settiledef, I always though that you would go

NPC Code:
if (created) {
settiledef 1,0>15,175;
}


That would make the the grass tile (1,0) a normal flat grass tile (15,175).... But how does it work properly?
__________________
Reply With Quote
  #2  
Old 02-26-2002, 05:26 AM
Goboom Goboom is offline
Pixel Monkey
Goboom's Avatar
Join Date: Dec 2001
Location: Michigan
Posts: 1,702
Goboom is on a distinguished road
Send a message via ICQ to Goboom Send a message via AIM to Goboom Send a message via MSN to Goboom Send a message via Yahoo to Goboom
OMG!!!! HOW MANY TIMES DO I HAVE TO SAY THIS????? ITS....addtiledef!!!!!! And it works like this.
Anything in <> delete and insert what it says inside <>
NPC Code:

if (created){
addtiledef <image>,<Starting Level>,<type>


type is either 0 or 1 0 is the standard pics1.png tileset form or 1 is a new one.
__________________
Reply With Quote
  #3  
Old 02-26-2002, 09:04 AM
zell12 zell12 is offline
Gone
zell12's Avatar
Join Date: Jun 2001
Location: Alberta, Canada
Posts: 8,541
zell12 has a spectacular aura about
Send a message via ICQ to zell12 Send a message via AIM to zell12 Send a message via MSN to zell12
k, no spazing... lol
__________________
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 09:48 AM.


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