About Scorm interactions

Scorm 1.2 has a restricted list of valid interaction types.

It also has restricitive limitations on which fields can be read or written. Many interaction fields such as cmi.interactions.n.correct_responses.n.pattern, cmi.interactions.n.type and cmi.interactions.n.id and [importantly] cmi.interactions.n.student_response are write only. It has no space to store a description of a question/interaction, and most packages are already making use of other structures like cmi.suspend_data. The one place where we can often store read-write data is cmi.comments which can store a maximum of 4096 bytes.

moodle moodle has a problem where cmi.comments is append only, which has never been in the SCORM spec - and means that using the field eventually breaks it because of an overflow. You have to modify /mod/scorm/datamodels/scorm_12.js to ensure the model replaces the value instead of appending it.

Scorm 2004's interactions are effectively the same, except the properties are read-write, and a cmi.interactions.n.description field exists to describe the interaction (255 bytes).