12 lines
403 B
Plaintext
12 lines
403 B
Plaintext
// squadl_show_miss - show mission action version
|
|
void main()
|
|
{
|
|
object oPC=GetPCSpeaker();
|
|
object oMod=GetModule();
|
|
string sID=GetLocalString(oPC,"sTeamID");
|
|
int nNum=GetLocalInt(oPC,"nSquadNum");
|
|
string sMission=GetLocalString(oMod,"sSquadMission"+sID+IntToString(nNum));
|
|
if (GetStringLength(sMission)<1) sMission="unassigned at this time";
|
|
SetCustomToken(88004,sMission);
|
|
}
|