Forum rules - please read before posting.

set multiple values

edited January 2017 in Technical Q&A
Hi,

I feel some discomfort using values in AC.
For example. I have 24 popup values.
In the moment when i want to change all this values I have to set each value manualy in ActionList Editor. 
Is there a more optimal way to set all this values?

Or another situation. I have 20 sprites. If i want to hide them in some moment, I have to use visibility action by 20 times. Maybe i dont know about some cycle action?

Comments

  • AC's Actions are just running pre-written C# code.  Hiding sprites, for example, is not something that need only be done via AC's Actions - a custom script of your own could do the same thing, and would be the more efficient option if you wanted to hide all sprites en-mass.

    Similarly, AC's variables can also be set through script.  The bottom of the scripting guide's front page gives a couple of examples.  When wanting to do something specific like this in bulk, its often easier to run your own code that accesses AC's functions and variables.
Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Welcome to the official forum for Adventure Creator.