Question 'bout Conditional commands (Score)

Started by Hammerite, Sun 16/10/2005 14:12:41

Previous topic - Next topic

Hammerite

is there a way to have a sort of conditional command thing like 'if score is...' and if so, how?
i used to be indeceisive but now im not so sure!

Ashen

In the Interaction Editor, I don't think it can be done. In scripting, use the game.score variable:
Code: ags

if (game.score == 27) {
  //Do stuff
}


I know what you're thinking ... Don't think that.

Hammerite

#2
ive tried this but i get A LOT of error messages!
i used to be indeceisive but now im not so sure!

Elliott Hird

#3
Then that's a problem with your code. Post it here and I'll see what I can do.

SMF spam blocked by CleanTalk