VIS_Owner

Category: Objects / Visibility
Since engine version: 4.9.1.0 GWE

Description

Constant for GetVisibility/SetVisibility. The object is visible for its owner.

Syntax

int VIS_Owner ();

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(), obj);
Makes all selected clonks visible for their owners only.
See also: GetVisibility, SetVisibility, VIS_All, VIS_Allies, VIS_Enemies, VIS_God, VIS_LayerToggle, VIS_Local, VIS_None, VIS_OverlayOnly
Sven2, November 2001