Why do the scenario editor has corrupted file?

I will also send you the rest of the maps where it worked fine.

1 Like

Yeah, I would love to know/see the “working” version.

1 Like

I have just now sent three scenarios where the code works fine.

From my understanding, you are trying to “control” the population stuff.

Can you explain EXACTLY what you want to accomplish? So, I can understand what you want to do exactly.

Yes, indeed I wrote the code to see when the current population is 0 because I have put an invisible object which does not count into current population so when the current population is 0 and TC are dead the player is almost dead, in that case I want to replace the invisible object with a villager in the near by TC of ally or team mate.

I think you will get to see in the testing of working scenario please delete all the villagers ships if any and TC you will see that you get new vills in team mates region.

1 Like

Did it work? But here rises the problem with the last map I don’t know why it acts weird and gives TC pop count and villager pop count as 1 and 0 respectively. Which leads my idea as a failure I cannot any more teleport villagers.

I do this this behavior with the spawning. (the black forest one does not seem to work though. nothing spawns
 But, the others did.

Maybe consider starting over with the triggers that are population related. There are ways to modify them but, it can get tricky if you are not careful. (If you just want it to be maximum, just research nomads once. Once the player builds enough houses, they will eventually get to max pop and it will stay there.

Edit: You can also probably research the “Huns” Tech somewhere as well.

Edit: “Research Technology” Set maximum population (No houses)

1 Like

Please see this video I have just now tested again, the black forest works fine but the rest are nomadic maps which are changing count of villagers and TC.

I understand the nomads technology, but my problem is still unsolved the TC shows only 1 pop cap.

Not even that even I had 3 vills and 1 fishing boat(if any) it still shows 0/1 that makes my trigger activated. How to stop the villager count not showing 0.

And I send one more Black Forest map which I am currently using in multiplayer games.

Alright, he found the issue. Unfortunately, it’s partially my fault I think but, whatever. (I asked for the feature.) He got the Effect Names mixed up and used the wrong one.

Anyways Thank you guys, sorry for all the trouble, my sincere apologies.

1 Like