AW EVENT CELL OBJECT

From ActiveWiki
Jump to navigation Jump to search


Minimum requirements
Added in version 2.1
SDKbuild 13


AW_EVENT_CELL_OBJECT

Description

Describes a single object in a cell.

Notes

See Property for a description of the property query mechanism.

Attributes

AW_OBJECT_TYPE
AW_OBJECT_ID
AW_OBJECT_NUMBER
AW_OBJECT_OWNER
AW_OBJECT_BUILD_TIMESTAMP
AW_OBJECT_X
AW_OBJECT_Y
AW_OBJECT_Z
AW_OBJECT_YAW
AW_OBJECT_TILT
AW_OBJECT_ROLL
AW_OBJECT_MODEL
AW_OBJECT_DESCRIPTION
AW_OBJECT_ACTION
AW_OBJECT_DATA

Usage

void handle_cell_object (void)
{
  printf ("There is a %s at %d, %d\n",
          aw_string (AW_OBJECT_MODEL),
          aw_int (AW_OBJECT_X),
          aw_int (AW_OBJECT_Z));
}

aw_event_set (AW_EVENT_CELL_OBJECT, handle_cell_object);

Triggered by

See also