
Re: Single Level Activities
I'm not sure exactly what you're asking. Were you looking for something like this:
Code:
AddActivity = GAScripted
PresetName = Maginot
SceneName = Maginot
ScriptFile = Base.rte/Scenes/Scripts/Maginot.lua
InCampaignStage = 1
LuaClassName = MaginotMission
And Maginot does the location specific spawns by using
Code:
local attackLZ = SceneMan.Scene:GetArea("Attacker LZ");
if attackLZ then
ship.Pos = Vector(attackLZ:GetRandomPoint().X, 0);
end