24 lines
709 B
Plaintext
24 lines
709 B
Plaintext
//::///////////////////////////////////////////////
|
|
//:: 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 speaking
|
|
object db = GetNearestObjectByTag(DARTS_BOARD);
|
|
SetCustomToken(1001, IntToString(GetLocalInt(db,"wager")));
|
|
if(GetLocalInt(db, WAITING_FOR_CONTESTANT) == 1 &&
|
|
GetLocalObject(db, CONTESTANT1) == GetPCSpeaker())
|
|
{
|
|
return TRUE;
|
|
//return FALSE;
|
|
}
|
|
|
|
return FALSE;
|
|
}
|