RMRK is retiring.
Server is paid up for the rest of 2026, but the forum may go after that. See here for more information. Please archive or save anything you would like to keep before 2027.
Main Menu

[GM] Naming Scores and storing them via variables

Started by Minihobbs, May 31, 2007, 02:52:40 PM

0 Members and 1 Guest are viewing this topic.

Minihobbs

Right, I have a score system set up. But the thing is, I need to be able to have a separate score for each hole, and then store that score in a variable, so that I can show it in another room.

I have tried it but failed miserable, simply because I do not fully understand variables and variable commands, event though I have read through the manual.

Thanks in advance


Wisdom is knowing that a tomato is a fruit, knowledge is knowing not to put it in a fruit salad.

Currently working on:
Mini-Mini Golf

Minihobbs

I have looked at variables and I think I may have solved it. My try at it is below...

score1[hole1]=score

Then in the room, would I have to put this:

draw_text(x,y,score1[hole1]);

i need someone to verify if this is correct, if not...my game is at a halt.


Wisdom is knowing that a tomato is a fruit, knowledge is knowing not to put it in a fruit salad.

Currently working on:
Mini-Mini Golf