int StartingConditional()
{
object oPC = GetPCSpeaker();
string sVar = GetPCPlayerName(oPC) + GetName(oPC);
if(GetLocalInt(OBJECT_SELF, sVar)) return FALSE;
if(GetItemPossessedBy(oPC, "AncientTemple") != OBJECT_INVALID)
{
SetLocalInt(OBJECT_SELF, sVar, TRUE);
return TRUE;
}
return FALSE;
}
EDIT: L8 solution is even better if his assumption is correct
Kato
Modifié par Kato_Yang, 16 juin 2012 - 06:52 .