03.02.2015, 21:04
nice idea for a job...
but...
first look into the script without testing:
specialcar = CreateVehicle
//next line
specialcar = CreateVehicle
you cant set 4 vehicles to the same variable... only the 4th vehicle is now the specialcar ... not a big deal
furthermore driving from checkpoint to checkpoint is not how to mow the grass in real-life... the entire grass has to be mowed not just the way from checkpoint to checkpoint...
how about a timer which asks IsPlayerInRangeOfPoint and coordinates for each mІ of the grass... a variable for each mІ (mowed/growing)... a grass/bush-object on each mІ growing up and disappearing after mowing... and finally a reward for each mowed mІ like 1$/mІ and bonus for time and completeness like
50% = +10% of the reward
80% = +30% of the reward
100% = +50% of the reward
but...
first look into the script without testing:
specialcar = CreateVehicle
//next line
specialcar = CreateVehicle
you cant set 4 vehicles to the same variable... only the 4th vehicle is now the specialcar ... not a big deal
furthermore driving from checkpoint to checkpoint is not how to mow the grass in real-life... the entire grass has to be mowed not just the way from checkpoint to checkpoint...
how about a timer which asks IsPlayerInRangeOfPoint and coordinates for each mІ of the grass... a variable for each mІ (mowed/growing)... a grass/bush-object on each mІ growing up and disappearing after mowing... and finally a reward for each mowed mІ like 1$/mІ and bonus for time and completeness like
50% = +10% of the reward
80% = +30% of the reward
100% = +50% of the reward