16 lines
415 B
Plaintext
16 lines
415 B
Plaintext
int StartingConditional()
|
|
{
|
|
object oPC = GetPCSpeaker();
|
|
object oItem = GetItemInSlot(INVENTORY_SLOT_RIGHTHAND, oPC);
|
|
itemproperty ipAb = GetFirstItemProperty(oItem);
|
|
while (GetIsItemPropertyValid(ipAb))
|
|
{
|
|
if (GetItemPropertySubType(ipAb)==18 && GetItemPropertyParam1Value(ipAb)==0)
|
|
return TRUE;
|
|
|
|
ipAb = GetNextItemProperty(oItem);
|
|
}
|
|
|
|
return FALSE;
|
|
}
|