<- PRPL reference <- SECTION

GetStrucBuilt

GetStrucBuilt(x(int), y(int), enemy(bool)) ->isBuilt

Description

Checks whether struc at coordinates x,y is built. If enemy is true, checks for red struc; otherwise checks for blue struc. Returns 1 if struc is built or 0 if not.

Examples