CreatedBy

GenericObject.CreatedBy
Returns the GUID of the unit which created this GenericObject.

Example
// Loop all of the game objects currently loaded. foreach (GameObject obj in GameObjects) {	// Check if the object is named "Portable Mailbox". if (obj.Name == "Portable Mailbox") {		// We found a portable mailbox, let's print the GUID of who created it. Print("Portable Mailbox found, created by " + obj.CreatedBy); } }

// Example output: Portable Mailbox found, created by FDC4D305000000000000000000EC1607