Skip to content

Aux_Value - DfBaseList

Is only used by the system if an object is referenced on the on_item command line

Type: Property
Access: Read/Write
Data Type: Integer
Parameters: None

Parameters

Parameter Type Description
iItem Integer

Syntax

Property Integer Aux_Value
Access Type Syntax
Read Access: Get Aux_Value to IntegerVariable
Write Access: Set Aux_Value to IntegerVariable/Value

Description

Each item has a property which is often used by the system to contain the object_id of the object to send the item's message to. The Aux_Value property is only used by the system if an object is referenced on the on_item command line. If no object is referenced, the message will be directed to the current object regardless of the value of this property.

If this property is not so used to hold an object reference in an on_item command, you may use it to store any integer value you might wish to have associated with the item.

set aux_value to (special_value(self))

on_item "test" send do_test to desktop
:
set aux_value to (anotherobject(self))