First of all I'm new to Construct 2 and I my knowledge of programming is nearly zero. Also I'm not good in English but I'll try to make this as simple and clear as possible.
So I decided to make this kind of game which currently I'm stuck when it comes to calculate simple mathematics using 3 Variables.
there are 3 variables
I want C2 to calculate Value1 + Value2 = Value3 , where the Value1, Value2, and Value3 only contain numbers between 0-9, not more not less.
For example: An enemy is destroyed, the instance the enemy is destroyed, then all the Values Value1, Value2 and Value3 are set between 0-9 but also using the equation Value1 + Value2 = Value3 at the same time and the Value3 is the reference because it is the answer in the equation. The value for Value1 and Value2 must be pick at random. For example:
2 + 5 = 7
5 + 2 = 7
3 + 4 = 7
The Variable3 is set to be 7, my question is, can C2 randomly pick any value between 0-9 for Value1 and Value2 and add these two values together so that the Value1 + Value2 will be 7?
I'm beginning to think that C2 cannot decide the variables automatically to match with the equations, which is going to be difficult if I have to write all the possibilities of the equation manually, which is quite a lot of work. But if you guys have any idea, please do share with me, I really need this to make my game.