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