• 0

    posted a message on Trigger to find out if there is a unit of Team A / B inside a region does not work

    Hey!

    I am creating a map in wich players have to conquer regions.

    I need to know if TeamA and/or TeamB have units placed in those regions or not.

    I created a trigger picking all units inside the specific region. Owners of units are checked. If a unit is owned by any player of TeamA a variable ("blue") is set to true, saying there is a unit of teamA inside the region. Same for TeamB, second boolean variable ("red") storing wether there is a unit of teamB inside or not.

    The problem: This method ALWAYS find a unit owned by TeamA inside a region even if there is no unit of any team inside Units of TeamB are recognized correctly

    Troubleshooting (only one change at a time): - i disabled the check for units of player 1 -> WORKED - i deleted every unit/doodad/etc inside the region -> broken - i changed the location of the region ->broken

    Looks like the problem is, that my triggers always find a unit owned by player 1 inside a region. I have no idea why.

    I would be happy about any advice! Thanks!

    this trigger always returns units of Blue (player 1-6) in Region

    Posted in: Triggers
  • 0

    posted a message on broken map

    I'm facing the same problem atm. "localization problem" does does not give me any knowledge about how to fix it, could anyone tell me what that means and how to fix that?

    Posted in: Miscellaneous Development
  • To post a comment, please or register a new account.