I was looking through the stock scripts and found this in the hoth campaign:
Code: Select all
BlockPlanningGraphArcs("echobase")I'd appreciate any help on this and thanks in advance.
Moderator: Moderators

Code: Select all
BlockPlanningGraphArcs("echobase")


Planning transcends layers, which is why they have the code above. By-the-layer planning cannot be done (unless you are specifically loading different munged .lvl files in the .lua).[RDH]Zerted wrote:One thing you can do is put the connections and hubs in different layers. Then use ZeroEdit to configure which layers show up in which eras.


Really? That's good to know. I'll try both and see which one works the best. Thanks to all for the help.MercuryNoodles wrote:Doesn't planning transcend layers only if you're using the world's main plan file (ie. ABC.pln)? I'm working with planning that so far seems to be era-specific, and I'm not using separate lvl files. All that seems to be necessary is a plan file with a unique name that's referenced in the layer's mrq file. So long as the world's main pln file is empty, or only holds data for universally used planning, the game should be able to keep them separate, according to what I've experienced so far.