Adventure Game Studio

AGS Support => Beginners' Technical Questions => Topic started by: antineff on Mon 03/04/2006 14:55:04

Title: No scripting pendant for "Add score on first execution"
Post by: antineff on Mon 03/04/2006 14:55:04
Looking in the interaction editor I see a pendant for "Game - Add score", it is GiveScore(). But I can't see one for "Game - Add score on first execution". The field is blanked out. And there is no explanation in the script reference under GiveScore.

Is there an existing pendant or do I have to find a workaround maybe with setting a variable?
Title: Re: No scripting pendant for "Add score on first execution"
Post by: Gilbert on Mon 03/04/2006 15:35:17
There's no simple script equivalent for that, so right you probably need to use a variable to keep track of it, if you really need to do it via scripting.
Title: Re: No scripting pendant for "Add score on first execution"
Post by: antineff on Mon 03/04/2006 16:41:18
Well, what do you really NEED if you get used to scripting? ;)

Since I'm discovering more and more of the limitations of the interaction editor, I'm exchanging step by step nearly all of the interactions with scripts. But I still find things like that confusing me.

Thanks for help, Gilbot!