//:://///////////////////////////////////////////// //:: FileName sc_ref_if_wait //::////////////////////////////////////////////// //::////////////////////////////////////////////// //:: Created By: Script Wizard //:: Created On: 19/07/2002 10:59:48 PM //::////////////////////////////////////////////// #include "sc_dart_include" int StartingConditional() { // If the game initiator is not speaking and we are waiting for a player object db = GetNearestObjectByTag(DARTS_BOARD); SetCustomToken(1001, IntToString(GetLocalInt(db,"wager"))); if(GetLocalInt(db, WAITING_FOR_CONTESTANT) == 1 && GetLocalObject(db, CONTESTANT1) != GetPCSpeaker()) { return TRUE; } /* if(GetLocalInt(db, WAITING_FOR_CONTESTANT) == 1) { return TRUE; } */ return FALSE; }