22 lines
622 B
Plaintext
22 lines
622 B
Plaintext
|
//::///////////////////////////////////////////////
|
||
|
//:: FileName sc_ref_001
|
||
|
//:://////////////////////////////////////////////
|
||
|
//:://////////////////////////////////////////////
|
||
|
//:: Created By: Script Wizard
|
||
|
//:: Created On: 19/07/2002 10:20:29 PM
|
||
|
//:://////////////////////////////////////////////
|
||
|
#include "sc_dart_include"
|
||
|
int StartingConditional()
|
||
|
{
|
||
|
// Is there a game in progress/contestant wait?
|
||
|
object db = GetNearestObjectByTag(DARTS_BOARD);
|
||
|
if( GetLocalInt(db, GAME_IN_PROGRESS) == TRUE ||
|
||
|
GetLocalInt(db, WAITING_FOR_CONTESTANT) == TRUE) {
|
||
|
return FALSE;
|
||
|
}
|
||
|
|
||
|
return TRUE;
|
||
|
}
|
||
|
|
||
|
|