[GameLogic Index] [GameLogic Hierarchy]
A PropertySensor is a special kind of a general sensor More...
#include <propertysensor.h>
Inherits: Sensor
A PropertySensor is a special kind of a general sensor.
Returns the type of check this sensor performs.
Set the type of check to perform. Valid arguments are KX_PROPSENSOR_EQUAL, KX_PROPSENSOR_NOTEQUAL, KX_PROPSENSOR_INTERVAL, KX_PROPSENSOR_CHANGED, or KX_PROPSENSOR_EXPRESSION.
Return the property with which the sensor operates.
Sets the property with which to operate. If there is no property of this name, the call is ignored.
Returns the value with which the sensor operates.
Set the value with which the sensor operates. If the value is not compatible with the type of the property, the subsequent action is ignored.
| Kdoc |