12 lines
381 B
Plaintext
12 lines
381 B
Plaintext
// uc_t_nextok - Unit Creation V2 - is it okay to display the NEXT option?
|
|
// By Deva Bryson Winblood. 04/10/2005
|
|
int StartingConditional()
|
|
{
|
|
object oPC=GetPCSpeaker();
|
|
string sID=GetLocalString(oPC,"sTeamID");
|
|
int nUCBase=GetLocalInt(oPC,"nUCBase");
|
|
int nUnitTypes=GetLocalInt(GetModule(),sID+"_UNITS");
|
|
if (nUCBase+11<=nUnitTypes) return TRUE;
|
|
return FALSE;
|
|
}
|