VIS_Allies

Category: Objects / Visibility
Since engine version: 4.9.1.0 GWE

Description

Constant for GetVisibility/SetVisibility. The object is visible for all allies of the owner.

Syntax

int VIS_Allies ();

Remark

This value is also defined as a constant. Thus the parameter brackets can be omitted.

Example

var obj;
while (obj=FindObject(0,0,0,0,0,OCF_CrewMember,0,0,0,obj)) SetVisibility(VIS_Owner() | VIS_Allies(), obj);
Makes all selected clonks visible to their owners or their allies only.
See also: GetVisibility, SetVisibility, VIS_All, VIS_Enemies, VIS_God, VIS_LayerToggle, VIS_Local, VIS_None, VIS_OverlayOnly, VIS_Owner
Sven2, November 2001