AW WORLD CARETAKER CAPABILITY

From ActiveWiki
Jump to: navigation, search


Minimum requirements
Added in version 2.1
SDKbuild 13


AW_WORLD_CARETAKER_CAPABILITY

Type

Boolean (read only)

Description

Instance is a caretaker.

Notes

The value of this attribute is derived from AW_SERVER_CARETAKERS. It will be set to 1 (true) if the owner of the instance is listed in it for the current world. This is the only reliable way of knowing if an instance is a caretaker.

Usage

if (aw_bool (AW_WORLD_CARETAKER_CAPABILITY))
  printf ("I am a caretaker\n");
else
  printf ("I am not a caretaker\n");

Default value

None

See also