AW WORLD EMINENT DOMAIN CAPABILITY

From ActiveWiki
Revision as of 08:32, 2 November 2008 by Macavity (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search


Minimum requirements
Added in version 2.1
SDKbuild 13


AW_WORLD_EMINENT_DOMAIN_CAPABILITY

Type

Boolean (read only)

Description

Instance is allowed to change objects for which it is not the owner, and it has the ability to edit terrain.

Notes

The value of this attribute is usually derived from AW_WORLD_EMINENT_DOMAIN_RIGHT. It will be set to 1 (true) if the owner of the instance has eminent domain capability. This is more reliable than using aw_has_world_right or aw_has_world_right_all.

Usage

if (aw_bool (AW_WORLD_EMINENT_DOMAIN_CAPABILITY))
  printf ("I have eminent domain\n");
else
  printf ("I do not have eminent domain\n");

Default value

None

See also