]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Add the object_info object command, which will print all this information to the...
authorMircea Kitsune <sonichedgehog_hyperblast00@yahoo.com>
Sun, 30 Oct 2011 09:59:00 +0000 (11:59 +0200)
committerMircea Kitsune <sonichedgehog_hyperblast00@yahoo.com>
Sun, 30 Oct 2011 09:59:00 +0000 (11:59 +0200)
qcsrc/server/mutators/sandbox.qc

index 9e779eaeced2a12e3aed63870847cc20eb36a199..630d55d4c81f7290670a37fbc5ccc665472a198f 100644 (file)
@@ -669,6 +669,9 @@ MUTATOR_HOOKFUNCTION(sandbox_PlayerCommand)
                                                                tags = strcat(tags, "^5", gettaginfo_name, "^7, ");
                                                        print_to(self, strcat("^2SANDBOX - INFO: ^7Object mesh is ^3", e.model, "^7 at animation frame ^3", ftos(e.frame), " ^7containing the following tags: ", tags));
                                                        return TRUE;
+                                               case "object":
+                                                       print_to(self, strcat("^2SANDBOX - INFO: ^7Object is owned by ^7", e.netname, "^7, created ^3", e.message, "^7, last edited ^3", e.message2));
+                                                       return TRUE;
                                        }
                                }
                                print_to(self, "^1SANDBOX - WARNING: ^7No information could not be found. Make sure you are facing an object");