Function
EGroup
EGroup_IsOnScreen
Returns true if ANY or ALL (use those keywords) of the entities in the group are present onscreen. You can pass in a percentage of the screen to check, so 0.8 would be a centered rectangle occupying 80% of the screen.
On this page
EGroup_IsOnScreen(group, all, percent)Description
Returns true if ANY or ALL (use those keywords) of the entities in the group are present onscreen. You can pass in a percentage of the screen to check, so 0.8 would be a centered rectangle occupying 80% of the screen.
Parameters
groupEGroupIDrequiredallBooleanrequiredpercentFloatoptional
Returns
BooleanSource
Declared in the game's script sources at:
scar/groups.scar