So I've put together this trigger, so that when someone has researched something called Pact, it sets an integer that corresponds to that player equal to one.
That way, when a player tries to ally, it requires that both people have this research. However, i only did this to allow Allying without shared vision, and I wanted another tech required that would allow shared vision as well. This tech is called Mapping, and is also an integer array set up as above. I thus made the following trigger...
But it doesnt give shared vision to the person who has Mapping. I re-read it over and over but I dont see whats wrong with it. A little help?
That way, when a player tries to ally, it requires that both people have this research. However, i only did this to allow Allying without shared vision, and I wanted another tech required that would allow shared vision as well. This tech is called Mapping, and is also an integer array set up as above. I thus made the following trigger...
But it doesnt give shared vision to the person who has Mapping. I re-read it over and over but I dont see whats wrong with it. A little help?