Uh, oh.. I don't need this for anything in particular (I did a while ago)..
But what I mean..
Take a shop.. You walk in.. You get a bunch of action menu options "Buy Car 2 - $300" etc..
Each one of those needs a script, normaly..
I made a script a while ago (For the same project), p1buy.sqs.. So ["Car 1",300,buycar,car1] exec "p1buy.sqs"
That basicly jamp to the buycar loop, unlocked car1, and took the players money (After checking ammounts etc)
But you still needed b1buycar1.sqs to say stuff like "thanks for buying that car, it's a good car" etc etc..
Though now I think about it, I saw a random speach script a while ago.. Hmm
But basicly, is there a way to make a Universal Buy script?
There is, but I just can't think how to do it
- Ben