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

13 lines
418 B
Plaintext

// SQUADL_CK_SQ2 - Squad 2 Exists?
int StartingConditional()
{
object oPC=GetPCSpeaker();
string sID=GetLocalString(oPC,"sTeamID");
object oMod=GetModule();
int nNum=2;
if (GetIsObjectValid(GetLocalObject(oMod,"oSquadLead"+sID+IntToString(nNum)))==FALSE) return FALSE;
oPC=GetLocalObject(oMod,"oSquadLead"+sID+IntToString(nNum));
SetCustomToken(87999+nNum,GetName(oPC));
return TRUE;
}