So yea ive been trying to findle around with my skilltree system and i have been using const variables to hold an ID for the skills.
But due to this i cant use the usual generic way of doing a list which would be list(testskill1 = 3) where 3 meaning it needs level 3 of testskill1 before allowing the next skill to be unlocked.
So the only other option that comes to mind is doing something like..
Skillreq = list(test1, test2)
skillreqlev = list(3,1)
where skillreqlev denotes the level required for each of the skillreq's corresponding position
I remember seeing this in a dev post somewhere and i cant seem to remember the posters name so i cant go back to it unfortunately.
If anyone is able to give me a response to this it would be appreciated.
May 1 2011, 8:19 pm