Valid Equations in Expression Editor
After making an entire scoring system, I noticed that some of my equations aren't actually written correctly for game salad. For example:
game.Score to = game.Score+A+(B*C) doesn't seem to work. Only the variable 'A' is counted.
Interestingly, to = game.Score+(B*C) seems to work.
I assumed my equations were correct because at no time did game salad give me any 'invalid equation' prompt. It only seemed to ignore the wrong parts of the equation.
Am I writing it wrong? How should I write it?
Thanks
game.Score to = game.Score+A+(B*C) doesn't seem to work. Only the variable 'A' is counted.
Interestingly, to = game.Score+(B*C) seems to work.
I assumed my equations were correct because at no time did game salad give me any 'invalid equation' prompt. It only seemed to ignore the wrong parts of the equation.
Am I writing it wrong? How should I write it?
Thanks
Comments
I think some extra info might help, but try this:
game.Score to = game.Score+(A+(B*C))
Hope that helps!
QS