In the project properties, under SCORM, if you have 'Never Send Resume Data' unchecked, the CP project will always send back its current location and the 'cmi.exit' value to 'suspend'...which the LMS should then interpret as 'when the lesson is relaunched, it should resume to its previous state'...and it sends back that previous lesson_location back to the CP project, and CP resumes.
SO the easy way to avoid what you're seeing is to CHECK the 'Never Send Resume Data' option, in which case the project will never tell the LMS its last location and, since it won't set 'cmi.exit' to suspend, it should stay as 'default' (or similar:
cmi.core.exit & cmi.exit )
However, when you say 'click New Attempt', that's in your LMS, correct?
If so, then I'd *assume* that when you click that, the LMS should NOT send back the resume data and change the 'cmi.exit' value to 'default'. Is that would should happen? If not, how is the LMS 'New Attempt' buttons supposed to work (a question for your LMS vendor
)