Announcement

Collapse
No announcement yet.

Checking Locations

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Checking Locations

    For a scenario each turn I need to check locations
    can this be done?
    and is it something like this?
    makelocation(land, x-co, y-co)
    for (i=0, i => player[0].units, i=i+i){
    if (unit.location == land){
    //somecode here
    }
    }
    Or somoething else

  • #2
    Sure, that should work.
    Administrator of WePlayCiv -- Civ5 Info Centre | Forum | Gallery

    Comment

    Working...
    X