name – Talk

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
m (Added example)
Line 2: Line 2:


: Try [[group]] command. It will return group's ID, but also side (e.g. "WEST 1-1-A"). ++[[User:Str|Str]] 00:48, 17 June 2007 (CEST)
: Try [[group]] command. It will return group's ID, but also side (e.g. "WEST 1-1-A"). ++[[User:Str|Str]] 00:48, 17 June 2007 (CEST)
Example:
hint Format["%1 %2", group player, name player];
Will display this in a hint:
B 1-1-A MulleDK19

Revision as of 00:48, 14 July 2010

Is there a way to get 1-1-A ?? (part before the name?) --Doolittle 23:36, 16 June 2007 (CEST)

Try group command. It will return group's ID, but also side (e.g. "WEST 1-1-A"). ++Str 00:48, 17 June 2007 (CEST)

Example:

hint Format["%1 %2", group player, name player];

Will display this in a hint:

B 1-1-A MulleDK19