726 {
727 string desc = "";
728 if (action && action.GetText())
729 {
730 desc = action.GetText();
731
732 if (desc && action.DisplayTargetInActionText())
734 if (extraDescription)
735 desc =
string.
Format(
"%1 (%2)", desc, extraDescription);
736 }
737
738 return desc;
739 }
static proto string Format(string fmt, void param1=NULL, void param2=NULL, void param3=NULL, void param4=NULL, void param5=NULL, void param6=NULL, void param7=NULL, void param8=NULL, void param9=NULL)
Gets n-th character from string.