| 06-26-2004, 04:10 AM | #1 |
I know its a program... but tell me if this will work also: Ok, i think i figured out how those save/load heros works... tell me if im right. When u type -save it converts the real values of the agility, hero lvl, experience, strength, ect and converts then to integers. Then it displays the load command to type. So when u type the command ur actually just typing each of the stats all together. Then when u load it just puts all that data back into a hero. I wanna use this 4 my map and i wanna make sure this is all right. is it? 1 more thing, i think this will work, the only part that would b hard is to break apart the string into seperate integers, is there a way 2 take like the first 3 numbers and save them 2 a variable then the next 2 and so on? |
| 06-26-2004, 12:19 PM | #2 |
Yeah, you've got it. If you need some frame of reference you can check my tutorial, but I highly reccommend doing it yourself simply because you get more triggering experiance that way. |
| 07-01-2004, 11:24 AM | #3 | |
Quote:
In that way you could be able to type: "-load xxx-xxx-xxx" and you could get any stats you want |
| 07-01-2004, 11:31 AM | #4 |
Ack! A thread reviver! Well, almost. Anyway, yes, that is true, that is why you need a checksum which will check to see if digits are in the right place. |
