- Joined
- Jul 10, 2011
- Messages
- 562
hey all...
im not sure whether this should be here or in the trigger section but...okay...
here the question:
i wanna decrease the size of the save/load code but im not sure which solution is better.
i use acehearts at the moment...maybe later ill change it but thats the easiest one for me at the moment.
so now to my ideas:
if i have for example 8354 EXP (level 7 ; 1354 exp in level 7) and wanna save it which way i should save it to make the code as short as possible?
1. directly ; means i save 8354 EXP as one point
2. i use 2 points and save the level and the exp in that level
3. i split the exp in X different numbers (here: 8 , 3 , 5 , 4) save them as 4 points and multiply them on loading again to the original number
thanks in advance
greetz clapto
p.s. ill also use that for stats for example...
im not sure whether this should be here or in the trigger section but...okay...
here the question:
i wanna decrease the size of the save/load code but im not sure which solution is better.
i use acehearts at the moment...maybe later ill change it but thats the easiest one for me at the moment.
so now to my ideas:
if i have for example 8354 EXP (level 7 ; 1354 exp in level 7) and wanna save it which way i should save it to make the code as short as possible?
1. directly ; means i save 8354 EXP as one point
2. i use 2 points and save the level and the exp in that level
3. i split the exp in X different numbers (here: 8 , 3 , 5 , 4) save them as 4 points and multiply them on loading again to the original number
thanks in advance
greetz clapto
p.s. ill also use that for stats for example...