Alliesfaction = {"germany", "france", "england"} Sovietfaction = {"ukraine", "russia"} Basecreator = function() newactor = Actor.Create("dome", true, { Location = Actor160.Location, Owner = Neutral }) newactor = Actor.Create("dome", true, { Location = Actor161.Location, Owner = Neutral }) newactor = Actor.Create("dome", true, { Location = Actor162.Location, Owner = Neutral }) newactor = Actor.Create("dome", true, { Location = Actor163.Location, Owner = Neutral }) newactor = Actor.Create("fix", true, { Location = Actor164.Location, Owner = Neutral }) newactor = Actor.Create("fix", true, { Location = Actor165.Location, Owner = Neutral }) newactor = Actor.Create("fix", true, { Location = Actor166.Location, Owner = Neutral }) newactor = Actor.Create("fix", true, { Location = Actor167.Location, Owner = Neutral }) newactor = Actor.Create("weap", true, { Location = Actor169.Location, Owner = Multi0 }) newactor.Owner = Neutral newactor = Actor.Create("weap", true, { Location = Actor170.Location, Owner = Multi1 }) newactor.Owner = Neutral newactor = Actor.Create("weap", true, { Location = Actor171.Location, Owner = Multi2 }) newactor.Owner = Neutral newactor = Actor.Create("weap", true, { Location = Actor172.Location, Owner = Multi3 }) newactor.Owner = Neutral newactor = Actor.Create("weap", true, { Location = Actor173.Location, Owner = weap1owner }) newactor.Owner = Neutral newactor = Actor.Create("weap", true, { Location = Actor174.Location, Owner = weap2owner }) newactor.Owner = Neutral newactor = Actor.Create("weap", true, { Location = Actor175.Location, Owner = weap3owner }) newactor.Owner = Neutral --Multi0 for i=1,4 do if Multi0.Faction == Alliesfaction[i] then newactor = Actor.Create("pbox", true, { Location = Actor89.Location, Owner = Multi0 }) newactor.Owner = Neutral newactor = Actor.Create("gun", true, { Location = Actor125.Location, Owner = Multi0 }) newactor.Owner = Neutral newactor = Actor.Create("gun", true, { Location = Actor126.Location, Owner = Multi0 }) newactor.Owner = Neutral newactor = Actor.Create("hbox", true, { Location = Actor133.Location, Owner = Multi0 }) newactor.Owner = Neutral newactor = Actor.Create("atek", true, { Location = Actor140.Location, Owner = Multi0 }) newactor.Owner = Neutral newactor = Actor.Create("pdox", true, { Location = Actor141.Location, Owner = Multi0 }) newactor.Owner = Neutral newactor = Actor.Create("tent", true, { Location = Actor148.Location, Owner = Multi0 }) newactor.Owner = Neutral newactor = Actor.Create("tent", true, { Location = Actor149.Location, Owner = Multi0 }) newactor.Owner = Neutral elseif Multi0.Faction == Sovietfaction[i] then newactor = Actor.Create("tsla", true, { Location = Actor125.Location, Owner = Multi0 }) newactor.Owner = Neutral newactor = Actor.Create("tsla", true, { Location = Actor126.Location, Owner = Multi0 }) newactor.Owner = Neutral newactor = Actor.Create("ftur", true, { Location = Actor89.Location, Owner = Multi0 }) newactor.Owner = Neutral newactor = Actor.Create("ftur", true, { Location = Actor133.Location, Owner = Multi0 }) newactor.Owner = Neutral newactor = Actor.Create("stek", true, { Location = Actor140.Location, Owner = Multi0 }) newactor.Owner = Neutral newactor = Actor.Create("iron", true, { Location = Actor141.Location, Owner = Multi0 }) newactor.Owner = Neutral newactor = Actor.Create("barr", true, { Location = Actor148.Location, Owner = Multi0 }) newactor.Owner = Neutral newactor = Actor.Create("barr", true, { Location = Actor149.Location, Owner = Multi0 }) newactor.Owner = Neutral newactor = Actor.Create("kenn", true, { Location = Actor150.Location, Owner = Multi0 }) newactor.Owner = Neutral end --Multi1 if Multi1.Faction == Alliesfaction[i] then newactor1 = Actor.Create("pbox", true, { Location = Actor134.Location, Owner = Multi1 }) newactor1.Owner = Neutral newactor1 = Actor.Create("gun", true, { Location = Actor127.Location, Owner = Multi1 }) newactor1.Owner = Neutral newactor1 = Actor.Create("gun", true, { Location = Actor128.Location, Owner = Multi1 }) newactor1.Owner = Neutral newactor1 = Actor.Create("hbox", true, { Location = Actor135.Location, Owner = Multi1 }) newactor1.Owner = Neutral newactor = Actor.Create("atek", true, { Location = Actor142.Location, Owner = Multi1 }) newactor.Owner = Neutral newactor = Actor.Create("pdox", true, { Location = Actor143.Location, Owner = Multi1 }) newactor.Owner = Neutral newactor = Actor.Create("tent", true, { Location = Actor151.Location, Owner = Multi1 }) newactor.Owner = Neutral newactor = Actor.Create("tent", true, { Location = Actor152.Location, Owner = Multi1 }) newactor.Owner = Neutral elseif Multi1.Faction == Sovietfaction[i] then newactor1 = Actor.Create("tsla", true, { Location = Actor127.Location, Owner = Multi1 }) newactor1.Owner = Neutral newactor1 = Actor.Create("tsla", true, { Location = Actor128.Location, Owner = Multi1 }) newactor1.Owner = Neutral newactor1 = Actor.Create("ftur", true, { Location = Actor134.Location, Owner = Multi1 }) newactor1.Owner = Neutral newactor1 = Actor.Create("ftur", true, { Location = Actor135.Location, Owner = Multi1 }) newactor1.Owner = Neutral newactor = Actor.Create("stek", true, { Location = Actor142.Location, Owner = Multi1 }) newactor.Owner = Neutral newactor = Actor.Create("iron", true, { Location = Actor143.Location, Owner = Multi1 }) newactor.Owner = Neutral newactor = Actor.Create("barr", true, { Location = Actor151.Location, Owner = Multi1 }) newactor.Owner = Neutral newactor = Actor.Create("barr", true, { Location = Actor152.Location, Owner = Multi1 }) newactor.Owner = Neutral newactor = Actor.Create("kenn", true, { Location = Actor153.Location, Owner = Multi1 }) newactor.Owner = Neutral end --Multi2 if Multi2.Faction == Alliesfaction[i] then newactor2 = Actor.Create("pbox", true, { Location = Actor136.Location, Owner = Multi2 }) newactor2.Owner = Neutral newactor2 = Actor.Create("gun", true, { Location = Actor129.Location, Owner = Multi2 }) newactor2.Owner = Neutral newactor2 = Actor.Create("gun", true, { Location = Actor130.Location, Owner = Multi2 }) newactor2.Owner = Neutral newactor2 = Actor.Create("hbox", true, { Location = Actor137.Location, Owner = Multi2 }) newactor2.Owner = Neutral newactor = Actor.Create("atek", true, { Location = Actor144.Location, Owner = Multi2 }) newactor.Owner = Neutral newactor = Actor.Create("pdox", true, { Location = Actor145.Location, Owner = Multi2 }) newactor.Owner = Neutral newactor = Actor.Create("tent", true, { Location = Actor154.Location, Owner = Multi2 }) newactor.Owner = Neutral newactor = Actor.Create("tent", true, { Location = Actor155.Location, Owner = Multi2 }) newactor.Owner = Neutral elseif Multi2.Faction == Sovietfaction[i] then newactor2 = Actor.Create("tsla", true, { Location = Actor129.Location, Owner = Multi2 }) newactor2.Owner = Neutral newactor2 = Actor.Create("tsla", true, { Location = Actor130.Location, Owner = Multi2 }) newactor2.Owner = Neutral newactor2 = Actor.Create("ftur", true, { Location = Actor136.Location, Owner = Multi2 }) newactor2.Owner = Neutral newactor2 = Actor.Create("ftur", true, { Location = Actor137.Location, Owner = Multi2 }) newactor2.Owner = Neutral newactor = Actor.Create("stek", true, { Location = Actor144.Location, Owner = Multi2 }) newactor.Owner = Neutral newactor = Actor.Create("iron", true, { Location = Actor145.Location, Owner = Multi2 }) newactor.Owner = Neutral newactor = Actor.Create("barr", true, { Location = Actor154.Location, Owner = Multi2 }) newactor.Owner = Neutral newactor = Actor.Create("barr", true, { Location = Actor155.Location, Owner = Multi2 }) newactor.Owner = Neutral newactor = Actor.Create("kenn", true, { Location = Actor156.Location, Owner = Multi2 }) newactor.Owner = Neutral end --Multi3 if Multi3.Faction == Alliesfaction[i] then newactor3 = Actor.Create("pbox", true, { Location = Actor138.Location, Owner = Multi3 }) newactor3.Owner = Neutral newactor3 = Actor.Create("gun", true, { Location = Actor131.Location, Owner = Multi3 }) newactor3.Owner = Neutral newactor3 = Actor.Create("gun", true, { Location = Actor132.Location, Owner = Multi3 }) newactor3.Owner = Neutral newactor3 = Actor.Create("hbox", true, { Location = Actor139.Location, Owner = Multi3 }) newactor3.Owner = Neutral newactor = Actor.Create("atek", true, { Location = Actor146.Location, Owner = Multi3 }) newactor.Owner = Neutral newactor = Actor.Create("pdox", true, { Location = Actor147.Location, Owner = Multi3 }) newactor.Owner = Neutral newactor = Actor.Create("tent", true, { Location = Actor157.Location, Owner = Multi3 }) newactor.Owner = Neutral newactor = Actor.Create("tent", true, { Location = Actor158.Location, Owner = Multi3 }) newactor.Owner = Neutral elseif Multi3.Faction == Sovietfaction[i] then newactor3 = Actor.Create("tsla", true, { Location = Actor131.Location, Owner = Multi3 }) newactor3.Owner = Neutral newactor3 = Actor.Create("tsla", true, { Location = Actor132.Location, Owner = Multi3 }) newactor3.Owner = Neutral newactor3 = Actor.Create("ftur", true, { Location = Actor138.Location, Owner = Multi3 }) newactor3.Owner = Neutral newactor3 = Actor.Create("ftur", true, { Location = Actor139.Location, Owner = Multi3 }) newactor3.Owner = Neutral newactor = Actor.Create("stek", true, { Location = Actor146.Location, Owner = Multi3 }) newactor.Owner = Neutral newactor = Actor.Create("iron", true, { Location = Actor147.Location, Owner = Multi3 }) newactor.Owner = Neutral newactor = Actor.Create("barr", true, { Location = Actor157.Location, Owner = Multi3 }) newactor.Owner = Neutral newactor = Actor.Create("barr", true, { Location = Actor158.Location, Owner = Multi3 }) newactor.Owner = Neutral newactor = Actor.Create("kenn", true, { Location = Actor159.Location, Owner = Multi3 }) newactor.Owner = Neutral end end end