I know, you guys never thought I'd be here, making an advanced game, (at least I didn't...) but here I am...
How do you make it so every time you use an item, your score goes down by X amount of points?
Make a variable call %ITEMUSE
Put this in the item script page: %ITEMUSE := %ITEMUSE + 1
Put this on previous page link of the the page where your item brings your to:
IF %ITEMUSE = 1 THEN
BEGIN
%SCORE := %SCORE - X
%ITEMUSE := %ITEMUSE - 1
END
Oh my, how do I do that?
I can be your script co-author if you'd like.
That would defeat the purpose, since with what I'm doing is supposed to be used in a test game.
So, it'd be easier for me to guide you through the steps if I can see what you're seeing, and what you're doing wrong.
You DO understand the above steps, right? o.O
Ahh, No, I do not... On second thought, though, now that I think about what this item is actually going to do, I'd rather just make a normal, itemless quiz.
Ah, so quick on the give up -.-
It's not that I'm giving up, it's just that the item I had in mind would allow people to cheat the fuck out of the quiz. I'll come back again though if I fail to understand the articles that tell me what your dirctions meant.
There is no item script...(it's there whoops)
and there is already by default a $ITEMUSED variable.
%SCORE:=%SCORE-%ITEMUSED1-ITEMUSED2-ITEMUSED3
Put this in the last page's script.
You know it's $ITEMUSED, not %ITEMUSED, right? o.O
I could have sworn I used $ITEMUSED..
Yes
And Penguin's only using 1 item not 3.