HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

save/load system help..!

07-02-2004, 02:21 PM#1
randyM4A1
I got a save load system in the map from asia server..this trigger is kinda weird to me. Hero can only be save from level 1 to 99 and items from 1 to 35
i tried many times and edit the triggers but still no work ..how come ?
Anyone out there got any ideals... can you guys help me out pleaseeeee !/?
07-02-2004, 03:37 PM#2
iNfraNe
it would help if you posted the trigger, and also what you changed...
07-03-2004, 12:55 AM#3
Shadow_Twister
if you posted it i could have a go at it for you the thing is what do you want it to do, we cant help you unless we know the original triggers
07-03-2004, 05:51 AM#4
Ninja73
well, u could always do this, just do triggers so that if player types -save then it displays a code composed of like hero level, agility, strength, experience, ext. It would convert it all to numbers like 335692 for instance. Then when they type -load 335692 it would set variables to substrings. You could use substrings 2 break apart the numbers, then just set the heros stats to those variables. if u wanted 2 get the number 33 for the level out you would use like:
Set Level = (Integer((Substring((Entered chat string), 1, 2))))
The 1 and the 2 determine where 2 start and end the extracted values.
07-06-2004, 05:14 PM#5
randyM4A1
Quote:
Originally Posted by Ninja73
well, u could always do this, just do triggers so that if player types -save then it displays a code composed of like hero level, agility, strength, experience, ext. It would convert it all to numbers like 335692 for instance. Then when they type -load 335692 it would set variables to substrings. You could use substrings 2 break apart the numbers, then just set the heros stats to those variables. if u wanted 2 get the number 33 for the level out you would use like:
Set Level = (Integer((Substring((Entered chat string), 1, 2))))
The 1 and the 2 determine where 2 start and end the extracted values.


thanks to Ninja73 i got it work now bro thanks for your help and the map you gave me....:)