14 lines
525 B
Plaintext
14 lines
525 B
Plaintext
// squadl_show_mis - quick way to assign token
|
|
int StartingConditional()
|
|
{
|
|
object oPC=GetPCSpeaker();
|
|
object oMod=GetModule();
|
|
string sID=GetLocalString(oPC,"sTeamID");
|
|
int nNum=GetLocalInt(oPC,"nSquadNum");
|
|
string sMission=GetLocalString(oMod,"sSquadMission"+sID+IntToString(nNum));
|
|
//SendMessageToPC(oPC,"nSquadNum:"+IntToString(nNum)+" sID:"+sID+" sMission:"+sMission);
|
|
if (GetStringLength(sMission)<1) sMission="unassigned at this time";
|
|
SetCustomToken(88004,sMission);
|
|
return TRUE;
|
|
}
|