Scoring system

Xiaou
14 Feb 2012, 18:49
First time posting.

I've been using Quest 4 for a little while, and updated to Q5 very recently, so I'm still adapting to using it.

Anyway, I'm looking for a basic score system (I have checked out Pixie's, just hear me out).
One that counts certain actions performed by the player and presents the score at the END of the game, I don't want it to be view-able by the player in-game. I would also like to be able to deduct score as needed.
Being able to assign a rank would be bonus, but i'm sure I'll figure that out once the initial issue has been overcome...

Pixie's system will need some editing to work in this way, or there may be a better way but I am unfamiliar with Q5.

The way I had it working on Q4 was a simple Variable labeled 'Score'. and actions would simply add or subtract from it.
I just don't know how to achieve this in Q5 and need some help.

Any help would be appreciated! Very keen to learn Q5 properly :D

Pertex
15 Feb 2012, 07:40
Xiaou wrote:
The way I had it working on Q4 was a simple Variable labeled 'Score'. and actions would simply add or subtract from it.
I just don't know how to achieve this in Q5 and need some help.


It's the same in Q5. Add an integer attribute 'score' to the game and then increase it in scripts with game.score=game.score+ 1 or decrease it game.score=game.score - 1

Xiaou
15 Feb 2012, 17:39
Thank you so much for the reply, I got it working now thanks to your post.

I guess things work roughly the same, but operate slightly different. I'll get there in the end, especially with the support of this forum.

Thanks again :D