Graal Forums  

Go Back   Graal Forums > Development Forums > NPC Scripting > Code Gallery
FAQ Members List Calendar Search Today's Posts Mark Forums Read

Reply
 
Thread Tools Search this Thread Display Modes
  #46  
Old 10-06-2016, 04:17 PM
xAndrewx xAndrewx is offline
Registered User
xAndrewx's Avatar
Join Date: Sep 2004
Posts: 5,260
xAndrewx has much to be proud ofxAndrewx has much to be proud ofxAndrewx has much to be proud ofxAndrewx has much to be proud ofxAndrewx has much to be proud ofxAndrewx has much to be proud ofxAndrewx has much to be proud of
Odd - we have this function which saved the level?
Attached Thumbnails
Click image for larger version

Name:	piceditor.png
Views:	251
Size:	164.2 KB
ID:	55946  
__________________
Reply With Quote
  #47  
Old 10-07-2016, 12:18 AM
Crono Crono is offline
:pluffy:
Join Date: Feb 2002
Location: Sweden
Posts: 20,000
Crono has a reputation beyond reputeCrono has a reputation beyond reputeCrono has a reputation beyond reputeCrono has a reputation beyond reputeCrono has a reputation beyond reputeCrono has a reputation beyond reputeCrono has a reputation beyond reputeCrono has a reputation beyond reputeCrono has a reputation beyond reputeCrono has a reputation beyond reputeCrono has a reputation beyond repute
Quote:
Originally Posted by xAndrewx View Post
Odd - we have this function which saved the level?
off topic but i like the other guy's walk sprite

edit: aw man i just zoomed in and noticed it's prob just an idle animation after you punch or something
__________________
Reply With Quote
  #48  
Old 10-07-2016, 04:15 AM
Kamaeru Kamaeru is offline
G2k1
Kamaeru's Avatar
Join Date: Dec 2001
Posts: 1,040
Kamaeru has much to be proud ofKamaeru has much to be proud ofKamaeru has much to be proud ofKamaeru has much to be proud ofKamaeru has much to be proud ofKamaeru has much to be proud of
Quote:
Originally Posted by xAndrewx View Post
Odd - we have this function which saved the level?
Here's what I'm looking at.



There was no 1.4 version of this available on the links in this thread that I saw, maybe that's the issue? Also no update button, just a save button that appears to not work. Thanks for helping, if I can get this to work it will save me a ton of time and I can get all of the level work finished practically by myself.
Attached Thumbnails
Click image for larger version

Name:	Untitled.png
Views:	510
Size:	107.2 KB
ID:	55947  
__________________
3DS friendcode: 1118-0226-7975
Reply With Quote
  #49  
Old 10-07-2016, 06:33 AM
Kamaeru Kamaeru is offline
G2k1
Kamaeru's Avatar
Join Date: Dec 2001
Posts: 1,040
Kamaeru has much to be proud ofKamaeru has much to be proud ofKamaeru has much to be proud ofKamaeru has much to be proud ofKamaeru has much to be proud ofKamaeru has much to be proud of
Now I've updated the script to 1.4 and I have the update level option. Still having problems. Now when I try to update the level it tells me that I haven't given the npcserver proper rights, even though I have.
__________________
3DS friendcode: 1118-0226-7975
Reply With Quote
  #50  
Old 10-07-2016, 09:56 AM
xAndrewx xAndrewx is offline
Registered User
xAndrewx's Avatar
Join Date: Sep 2004
Posts: 5,260
xAndrewx has much to be proud ofxAndrewx has much to be proud ofxAndrewx has much to be proud ofxAndrewx has much to be proud ofxAndrewx has much to be proud ofxAndrewx has much to be proud ofxAndrewx has much to be proud of
I had to re-script this function for it to work -

HTML Code:
function getLevelFilePath(temp.levelName) {
  temp.path = findfiles(temp.levelName, 1);
  if (temp.path == null) return;

  return temp.path[0].substring(7);


    /*  -- OLD 
  temp.fileList = {};
  temp.fileList.loadfolder("levels/*", 1);
  for (temp.filePath: temp.fileList) {
    temp.fileName = extractfilename(temp.filePath);
    if (temp.fileName == temp.levelName) {
      return temp.filePath;
    }
  }
  return NULL;
    */
}
__________________
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 01:26 PM.


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