NO_OWNER

Category: Player
Since engine version: 4.9.5.0 CE

Description

Player number: no player. This constant can be used to indicate 'no ownership' in cases such as CreateObject or FindObjectOwner.

Syntax

int NO_OWNER ();

Remark

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

Example

CreateObject(EFLN, 100,100, NO_OWNER);
Creates a flint owned by no one.
See also: GetOwner, SetOwner
Sven2, Januar 2005