I am a complete idiot newbie.

Anonymous
23 Sept 2003, 15:17
I know that you all must have gone through these questions a hundred times but...

I have set up a game and I want the player to be awarded points for achieveing simple things. The thing is I don't know how to do this.

Also is it possible for a room to have identical exits.
An example:
The player moves into the bathroom after being told to clean his teeth.
I have already set up a code to use the toothbrush on the sink.
What i want is for the player to clean his teeth gain 10 points then leave through the exit. If they don't then they either can't leave. Or the leave back into the original room they came from were the scripts are all set up so they are told what to do.

Thanks

Farvardin
23 Sept 2003, 18:23
You can probably use the QDK for doing this, but it's not easy to explain how do do this this way.

You can use a script for this :

I wanted something a bit similar : if someone want to carry a chair out of a room, the player is stopped.

south {
if not got <chair> then goto <village> else msg <Do you really need this chair with you ? ...>
}


Adapt it to your case.

For scoring, you can use a variable, and increase it in a script. But you should read the manual for doing this.

GameBoy
26 Sept 2003, 11:33

how do do this this way.



LOL

I have set up a game and I want the player to be awarded points for achieveing simple things. The thing is I don't know how to do this.



simple. if coding, put this in the 'define game' section....

define variable <points>
type numeric
value <0>
display <Points: !>
end define


otherwise, in QDK, setup a status variable by going to Game --> Status Variables.


however, if you dont want the player to see their points, you can just make a numeric variable and the points can be shown to them somewhere else, by typing a command, or at a save point or whatever.

Farvardin
26 Sept 2003, 17:02

Quote:
how do do this this way.


LOL



Grrrrrr, do pleaze not moque mine accent and england language you nasty Brit' !


:twisted: :mrgreen:

GameBoy
27 Sept 2003, 10:39
i wasnt i just thought it was funny

Farvardin
27 Sept 2003, 12:27
yes, I understood :)