thadian
Kami of Awakened Dreamers
Is it possible to make a unit or building that unlocks on a certain era instead of with a certain tech?
if not player:HasEra(EraID) then
local playerEra = player:GetCurrentEra();
if playerEra >= prereqEra then
return false;
end
EDIT: ...and don't forget your semicolons.
Or do, as unless you are placing two statements on one line they are nothing by syntactic sugar
ahh, so i can use > as a statement, to make Trade Fair available at one "classical era onwards" instead of making "have era 2, have era 3..."