Have a world level object variable set to the master spawner.
In the spawner object have a method that checks if the world level variable is not equal to the spawner before doing whatever is required of it.
When the object is cloned the world level variable will stay the same, but it will automatically change the if clause to check if it is not equal to the cloned object.
Does that make sense? Its hard to describe.
EDIT - here's some code that might (or might not) better describe it:
Code:
object world.master = spawnerObj
method spawnerObj.doStuff (){
if ( world.master != spawnerObj ) {
// do stuff here
}
}
object clone = getCloneOf( spawnerObj )
and then the automatically created method upon the cloned object would be:
Code:
method clone.doStuff (){
if ( world.master != clone ) {
// do stuff here
}
}
█░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░█
█░░▓░░░░░░░▓░░░░░░░░░░░▓▓░░▓░░░░░░▓░░░▓░░░░█
█░▓░▓░▓▓▓░▓▓▓░▓░▓░░░░░░▓▒▒░░▒░░▓▓░▓▓▓░▓▒░░░█
█░▓▓▓▒▓▒▒▒░▓▒▒▓▓▓▒▓▓▓░▓▓▓░░▓░░░▓▒▒▓▒▓▒▓▒░░░█
█░▓▒▓▒▓▒░░░▓▓░░▒▓▒░▒▒▒░▓▒▒░▓▓░▓▓▒░▓▒▓▒▓▒░░░█
█░▓▒▓▒░▒░░░░▒▒▓▓▓▒░░░░▓▓▒░░░▒▒░▒▒░░▒░▒▓▓▓░░█
█░░▒░▒░░░░░░░░░▒▒▒░░░░░▒▒░░░░░░░░░░░░░░▒▒▒░█
█░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░█
I have mostly moved on from Alice, but may still respond to messages if important [¬º-°]¬