The first part, the condition, should be based on something to do with the object like a variable or setting. The second part you can make happen at the image point by name. Instead of checking if such an image point exists it should be more general in terms of object type like if they are supposed to have a gun then spawn a gun at image point "gun" for example.