lua help

  1. gwennog

    Need Help for lua Code

    I would like to give a unit a promotion like UnitPromotions_YieldFromScouting which would bring Great Merchant Points to the nearest city. I am in total vagueness and cannot find any idea to build this code :undecide:. As a last resort, I was thinking of earning Grand General Points through the...
  2. Ja Mes

    Adventures in Border Plots

    I've been working on a tool to keep track of hex ownership and adjacency (borders). Suffice to say, I am in need of dire assistance. local tPlotBorders = {} local tIndices = {} local NumOfIndices = 0 local iNumDirections = DirectionTypes.NUM_DIRECTION_TYPES - 1 function PlotsDoBeLikeThat()...
Top Bottom