Conditional Branch with hero level?

● ARCHIVED · READ-ONLY
Started by Woland 6 posts View original ↗
  1. I am trying to make a conditional branch that is based on the level of one of the characters in the party, but I don't see the option for that. Is it possible to just make it work?

    Or do I have to go with some weird hack like giving the hero some kind of skill at that level and then check for the skill in the conditional branch?
  2. Use Control Variables to draw the data you need, then you use the Conditional Branch!
    Control Variables
    : Game Data: Actor: Level
    I think you know what to do with a variable then. ;)
    I mean, Conditional Branch Variable etc etc
  3. So still not an out of the box solution, but quite simple. Alright. Thank you!
  4. Woland said:
    So still not an out of the box solution, but quite simple. Alright. Thank you!

    Wait, what? This IS an out of the box solution.
    I mean, you set Variables to have specific data, then do your magic using those variables in conditional Branches.
    It is done with the application's basic eventing commands.

    Oh, do you mean that it can't be directly assigned from the conditional branch?
    It can but needs a javascript line.
    It can be done using Tab 4: Script box.
    It should be something like:

    $gameActors.Actor(ActorId).MethodYouSearchFor()
    or
    $gameActors.Actor(ActorId).AttribureYouSearchFor


    There is always this though:

    $gameParty.leader().level


    As you can see... this is not an out of the box feature, it needs some research, so, why not stick with that out of the box simple solution?
  5. Yeah, the out of the box solution isn't bad, just needs another conditional in my case, where it checks which character we're playing as, so it becomes a bit more tedious, but not too tedious. And it's only in one event, not a big, repetitve thing, so it works. Thank you :)
  6. P.S. I loved bigos and pierogi when I was to Warsaw and Krakow.
    Zapiekanka was also epic though.
    The hot wine was also epic. I will never forget it.