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

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