Oops, I didn't realiuze that those were seperate things. Thank you very much for the helpHowever, I'm still having problems with it.
Code: Select all
--objective: kill the ambushing cis
ambushers = TargetType:New{classname = "atm_inf_marine", killLimit = 8, icon = "hud_objective_icon_circle"}
Objective2= ObjectiveAssault:New{teamATT = ATT, teamDEF = amb,
text = "level.mad.campaign.2", popupText = "level.mad.campaign.2_popup"}
Objective2:AddTarget(ambushers)
Objective2.OnStart = function(self)
-- SetupAmbushTrigger("ambush_trigger_1", "ambush_path_1", 8, atm)
Ambush(ambush_path_1, 7, 8)
end
Objective2.OnComplete = function(self)
end

