Graal Forums

Graal Forums (https://forums.graalonline.com/forums/index.php)
-   Feature request (https://forums.graalonline.com/forums/forumdisplay.php?f=194)
-   -   SaveNPC (https://forums.graalonline.com/forums/showthread.php?t=83514)

Tyhm 01-05-2009 04:21 AM

SaveNPC
 
Largely an offline dev item:
the opposite of putnpc. Saves a big long string to a text file, clientside, offline. A sufficiently clever scripter can use this to make an offline file-save method:
savenpc file1.cwg,{if(created){setstring hp,#s(hp); setstring mp,#s(mp); setlevel2 #L,#v(playerx),#v(playery);};

Then you could load by putnpc with file1.cwg. :-D

It's not EVERYTHING, but it's enough. If you design your offline game with all the toweapons in one level, you can have the savenpc detour the player through the loader level...

Deas_Voice 01-05-2009 01:59 PM

how is this going to work offline then we aint getting a new external leveleditor or a offline play?

Tyhm 01-05-2009 04:51 PM

Well, obviously I'm implying we SHOULD get a new external leveleditor and offline play.

xXziroXx 01-05-2009 04:55 PM

Quote:

Originally Posted by Tyhm (Post 1454796)
Well, obviously I'm implying we SHOULD get a new external leveleditor and offline play.

We're not getting it, and quite frankly, I would prefer a lot of other things before even considering the addition of something like this.

Tyhm 01-05-2009 10:07 PM

That's nice.


All times are GMT +2. The time now is 05:47 AM.

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