Requirement (data module) for a global var (trigger module)

Discussion in 'Starcraft 2 (SC2) Editor Help' started by Maarten, May 12, 2014.

  1. Maarten

    Maarten New Member

    +0 / 0 / -0
    Hi there,

    i seriously want to solve this, but I can't figure.

    I have a leveling bank system with global var integers. There are some certain upgrades I want to give an requirement that the global var needs to be a certain value. I know my english is a bit vague.

    I want this:

    A requirement for an upgrade/ability, only purchaseable if condition, for example: Global Var (integer) => 10

    Is this possible via the data module (requirements)?? :D
  2. X-maul

    X-maul AKA: Demtrod

    +200 / 0 / -0
    well, not directly, but you can work around it. You can make it required to have a specific upgrade, and then you can have a trigger that will change the upgrade level from 0 to 1 (or reverse it) when your variable hits 10.

    For this you just need a dummy upgrade, which does nothing.
  3. Maarten

    Maarten New Member

    +0 / 0 / -0
    Aaaah.. Excellent.. Thanks!!! SOLVED!!!

Share This Page