void main() { AssignCommand(OBJECT_SELF, ClearAllActions(TRUE)); SetIsDestroyable(TRUE); DestroyObject(OBJECT_SELF); }