AW_EVENT_CELL_OBJECT

DESCRIPTION

Describes a single object in response to aw_query or aw_cell_next.

NOTES

This event is triggered in response to a call to aw_query or to aw_cell_next. This event sets the following attributes:

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

See Property for a  description of the property query mechanism.

EXAMPLE

void 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, cell_object);

SEE ALSO

aw_cell_next
aw_query
AW_EVENT_CELL_BEGIN
AW_EVENT_CELL_END