Avatar

Level 1

I know Paul answered your question, but just as an additional bit of info:

The error message

"The script is not editable because the Script Editor contains script that is in a fragment."

If the Script Editor is set to show all scripts, and some of the scripts it is showing are part of a fragment, then the entire editor is read-only.  Scripts that are part of fragments cannot be edited outside the fragment file; in order to prevent the editing, the Script Editor is set to read-only mode.

Ways to prevent this from bothering you while you work are to disable the "Show Events for Child Objects" option (a little button next to the "Event" list) and then to select objects that are not fragments in the hierarchy.  The Script Editor should then show only events for the selected object, and since it is not a fragment, there should be no problems with read-only mode.

Sorry for the difficulty.

Stephanie