hi all,
im creating a golf type game which uses a par system, giving stars out at the end of a level depending how many shots the players takes to complete it. like angry birds, the least number of shots gives 3 stars.
my problem lies with the score system, each level will have a different set of par scores, for examaple level 1 will give 3 stars at 2 shots or less, where level 2 gives 3 stars on 4 shots or less.
so far i figured id create a bunch of floats in another “master score script”
eg:
level1_parcount_1star = 1
level1_parcount_1star = 3
level1_parcount_1star = 6
and so on for each level.
my 1st problem is how would i call in another script back to these to check these values. i dont want to make a differnet scri[pt for each level, i need a way to;
call the master score script,
find current level
find par count for current level
so far im messing around with this kind of line, this would use the current levels name
ParBerry3 = uiScoreBack.GetComponent().((application.loadedlevelname)Par3Count)
any help would be great =]