HoS_PRC8/_mod/_module/nss/squadl_show_mis.nss
Jaysyn904 04165202c0 Initial upload
Initial upload
2024-11-25 19:36:07 -05:00

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;
}