From b286c095a20457b4eb5a02f6c22ee59655395e0a Mon Sep 17 00:00:00 2001 From: Mircea Kitsune Date: Sat, 29 Oct 2011 13:59:06 +0300 Subject: [PATCH] Name the info command "mesh", and allow it to list both model, andimation frame, and tags. People can then know the model and frame of any object, which can be helpful with building --- qcsrc/server/mutators/sandbox.qc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/qcsrc/server/mutators/sandbox.qc b/qcsrc/server/mutators/sandbox.qc index 86e48936e9..e68a24a20e 100644 --- a/qcsrc/server/mutators/sandbox.qc +++ b/qcsrc/server/mutators/sandbox.qc @@ -601,11 +601,11 @@ MUTATOR_HOOKFUNCTION(sandbox_PlayerCommand) { switch(argv(2)) { - case "taginfo": + case "mesh": string tags; for(i = 0; gettaginfo(e, i); i++) tags = strcat(tags, "^5", gettaginfo_name, "^7, "); - print_to(self, strcat("^2SANDBOX - INFO: ^7Tag information for ^3", e.model, "^7: ", tags)); + 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; } } -- 2.39.2