Thanks for the info Greycloak!
@ Funky Swerve: No, I want the script to play if either one of the gems is in posession, or two, or all three. So I think I should go for what Greycloak is suggesting. The problem is that the script fires only if all three are in posession.
This is what I have now. How do I set it to 'not equal' instead of 'equal'?
int StartingConditional()
{
object oPC = GetPCSpeaker();
if (GetItemPossessedBy(oPC, "Roseruby") == OBJECT_INVALID) return TRUE;
if (GetItemPossessedBy(oPC, "Fireopal") == OBJECT_INVALID) return TRUE;
if (GetItemPossessedBy(oPC, "Bloodcoral") == OBJECT_INVALID) return TRUE;
return FALSE;
}
Modifié par Eva_hop, 25 octobre 2010 - 08:37 .