NO_OWNER

Description

Constants for player numbers. The owner can be queried with GetOwner and set with SetOwner.

Constants

Name Category Description Introduced in Value
NO_OWNER Player Player number: no player. This constant can be used to indicate 'no ownership' in cases such as CreateObject or FindObjectOwner. 4.9.5.0 CE -1

Example

CreateObject(EFLN, 100,100, NO_OWNER);
Creates a flint owned by no one.
Sven2, January 2005