Jaysyn904 04165202c0 Initial upload
Initial upload
2024-11-25 19:36:07 -05:00

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;
}