DE EN FR ES IT CZ

Five special powers, but how can I program it?

This thread is a few years old. Some details may refer to an earlier version of Visionaire Studio. Current tutorials

  1. · 11 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!!!
  2. New to Visionaire Studio?

    Create point and click adventures without coding. The free version covers up to 25 scenes per project. For more scenes or to earn money with your game, you need a license.

    See the Indie Bundle Try it for free
  3. · 11 years ago
    Yes , very easily by changing the conditions set for each power.
  4. · 11 years ago
    You could make each power as a command in your interface. Setting the command to a, b, c, d, e is only allowed when the condition is true
  5. · 11 years ago
    Thanks!

This thread is closed because nobody has replied for more than a year. Feel free to ask your question in a new thread.

New thread

Really delete this post?