35 lines
479 B
Plaintext
35 lines
479 B
Plaintext
|
int HasHenchman(object oPC);
|
||
|
|
||
|
int StartingConditional()
|
||
|
{
|
||
|
int iResult;
|
||
|
|
||
|
iResult = HasHenchman(GetPCSpeaker());
|
||
|
|
||
|
return iResult;
|
||
|
}
|
||
|
|
||
|
int HasHenchman(object oPC)
|
||
|
{
|
||
|
int iResult;
|
||
|
int iIndex;
|
||
|
object oHench;
|
||
|
|
||
|
iResult = FALSE;
|
||
|
|
||
|
iIndex = 1;
|
||
|
while (iIndex < 7)
|
||
|
{
|
||
|
oHench = GetHenchman(oPC,iIndex);
|
||
|
if (GetIsObjectValid(oHench))
|
||
|
{
|
||
|
if (GetTag(oHench) == GetLocalString(oPC,"Henchman"))
|
||
|
iResult = TRUE;
|
||
|
}
|
||
|
iIndex++;
|
||
|
}
|
||
|
|
||
|
return iResult;
|
||
|
}
|
||
|
|