Adventure Game Studio

AGS Support => Advanced Technical Forum => Topic started by: aussie on Mon 02/02/2004 08:01:36

Title: Adding score only the first time?
Post by: aussie on Mon 02/02/2004 08:01:36
Sorry, perhaps this is a stupid question.

I want to give the player one point for looking at a statue.

However, he keeps getting a point every time he looks at it.

Is there any way (besides defining a global variable for every single "GiveScore" interaction) to avoid this?
Title: Re:Adding score only the first time?
Post by: Gilbert on Mon 02/02/2004 08:10:23
Well if you use the interaction editor, there is this event "Game - Add score on first execution", for text scripts you really do need to script the checkings tho.
Title: Re:Adding score only the first time?
Post by: aussie on Mon 02/02/2004 08:25:51
Ok, thanks.