GM users who are familiar with parent-child code relationship should be able to understand your approach, and your top-level description. But regardless of experience level, I think most members would appreciate some descriptive comments in the code itself, just to make things clear.

Also, a simple example showing how this is used would also be helpful.

GM users who are familiar with parent-child code relationship should be able to understand your approach, and your top-level description. But regardless of experience level, I think most members would appreciate some descriptive comments in the code itself, just to make things clear.

Also, a simple example showing how this is used would also be helpful.

Click to expand...

Thank you for the quick reply. I have made the changes.

Maybe the scStepInjAdd should do nothing if the object already has the script, but that would prevent objects to have duplicate scripts.