13 lines
418 B
Plaintext
13 lines
418 B
Plaintext
// SQUADL_CK_SQ1 - Squad 1 Exists?
|
|
int StartingConditional()
|
|
{
|
|
object oPC=GetPCSpeaker();
|
|
string sID=GetLocalString(oPC,"sTeamID");
|
|
object oMod=GetModule();
|
|
int nNum=1;
|
|
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;
|
|
}
|