-- level objectives g_activated3 = 0 function obj_3_init(e) end function obj_3_main(e) if g_activated2 == 1 then PromptLocal(e,"[3]") end PlayerDist = GetPlayerDistance(e) if PlayerDist < 100 and g_PlayerHealth > 0 and g_activated2 == 1 then PromptDuration("** OBJECTIVE 3 COMPLETED **",3000) g_activated3 = 1 PlaySound(e,0) ActivateIfUsed(e) SetEntityHealth(e,0) Destroy(e) end end