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 01-26-2006, 02:38 AM
fowlplay4 fowlplay4 is offline
team canada
fowlplay4's Avatar
Join Date: Jul 2004
Location: Canada
Posts: 5,200
fowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond repute
Copylevel Problem?

Ok so im trying to make an npc that will copy levels.

PHP Code:
// NPC made by Jerret
if (created) {
 
setimg house.png;
 
this.var=3;
 
setstring this.level,playerhouse_#v(this.var).nw,32,32;
 
copylevel examplehouse.nw,levels/insides/#I(this.level,0);

But when I go check for the level I cant find it. Now this is the first time using the command some im not really sure if its supposed to be invisible in the file manager.

Im not sure if its a folder problem but heres the level section of the Folder Configuration.

#LEVEL CONFIGURATION
level *.graal
level *.nw
level *.gmap
level levels/*.*
level levels/insides/*.*

Note: I couldnt put it in a php code block because it wouldn't display certain parts correctly.

Is there a server option that prevents me from doing this or what?
Any help would be much appreciated.
__________________
Quote:
Reply With Quote
  #2  
Old 01-26-2006, 02:47 AM
ZeLpH_MyStiK ZeLpH_MyStiK is offline
Scripter
ZeLpH_MyStiK's Avatar
Join Date: May 2003
Location: NYC
Posts: 553
ZeLpH_MyStiK is on a distinguished road
Send a message via MSN to ZeLpH_MyStiK Send a message via Yahoo to ZeLpH_MyStiK
I dont think you need "levels/" in the code.
__________________
Reply With Quote
  #3  
Old 01-26-2006, 03:01 AM
fowlplay4 fowlplay4 is offline
team canada
fowlplay4's Avatar
Join Date: Jul 2004
Location: Canada
Posts: 5,200
fowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond repute
Wow.. it really was that easy. Thanks a great deal man.
__________________
Quote:
Reply With Quote
  #4  
Old 01-28-2006, 04:41 PM
talkingnoodle talkingnoodle is offline
Rapidwolve
talkingnoodle's Avatar
Join Date: Nov 2005
Location: Leominster, MA
Posts: 229
talkingnoodle is on a distinguished road
Send a message via AIM to talkingnoodle Send a message via MSN to talkingnoodle
o_O i never heard of copylevels
__________________


AIM: Rapidwolve Graal
MSN: [email protected]


2/12/06 - Crossroads NPC Admin
Reply With Quote
  #5  
Old 01-28-2006, 06:03 PM
Skyld Skyld is offline
Script-fu
Skyld's Avatar
Join Date: Jan 2002
Location: United Kingdom
Posts: 3,914
Skyld has much to be proud ofSkyld has much to be proud ofSkyld has much to be proud ofSkyld has much to be proud ofSkyld has much to be proud ofSkyld has much to be proud of
Send a message via AIM to Skyld
Quote:
Originally Posted by fowlplay4
PHP Code:
#LEVEL CONFIGURATION
level   *.graal
level   
*.nw
level   
*.gmap
level   levels
/*.*
level   levels/insides/*.* 
The folder configuration doesn't need levels/ in it either, since the folder configuration is already relative to levels.
__________________
Skyld
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 11:45 PM.


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