#1, z smac96Saturday, 30. April 2016, 17:22 hodinky 9 years ago
Hi guys,
I have a question about programmation that is too complicated to manage for my knowledge and maybe some of you can help me :-)
The situation:
The character of my game has 5 special powers that he can use.
But... at the beginning he can use only 1 of the 5 powers at the time.
Then during the game... he will be allowed to use 2 powers simultaneously, then 3 powers simultaneously, then 4 powers simultaneously and at the end 5 powers simultaneously.
For the moment I only created a value called:
ALLOWED_SIMULTANEOUSLY_POWERS
(initial value: 1)
and 5 variables, one each power, called:
POWER_A
POWER_B
POWER_C
POWER_D
POWER_E
(initial values: FALSE. Then when I select the different powers, the value of the selected power turns to TRUE)
How can i program it? (if it's possible without LUA)
Thank you in advance for your help!!!