Module SCA_PropertyActuator :: Class SCA_PropertyActuator

Class SCA_PropertyActuator

SCA_ILogicBrick.SCA_ILogicBrick --+    
                                  |    
        SCA_IActuator.SCA_IActuator --+
                                      |
                                     SCA_PropertyActuator

Property Actuator

Properties:

Instance Methods
 
setProperty(prop)
DEPRECATED: use the 'property' property Set the property on which to operate.
string
getProperty()
DEPRECATED: use the 'property' property Returns the name of the property on which to operate.
 
setValue(value)
DEPRECATED: use the 'value' property Set the value with which the actuator operates.
string
getValue()
DEPRECATED: use the 'value' property Gets the value with which this actuator operates.
integer
getExecutePriority()
Gets the execution priority of this logic brick. (Inherited from SCA_ILogicBrick.SCA_ILogicBrick)
KX_GameObject
getOwner()
Gets the game object associated with this logic brick. (Inherited from SCA_ILogicBrick.SCA_ILogicBrick)
 
setExecutePriority(priority)
Sets the priority of this logic brick. (Inherited from SCA_ILogicBrick.SCA_ILogicBrick)
Instance Variables
int executePriority
This determines the order controllers are evaluated, and actuators are activated (lower priority is executed first). (Inherited from SCA_ILogicBrick.SCA_ILogicBrick)
KX_GameObject or None in exceptional cases. owner
The game object this logic brick is attached to (read only). (Inherited from SCA_ILogicBrick.SCA_ILogicBrick)
string property
the property on which to operate.
string value
the value with which the actuator operates.
Method Details

setProperty(prop)

 

DEPRECATED: use the 'property' property Set the property on which to operate.

If there is no property of this name, the call is ignored.

Parameters:
  • prop (string) - The name of the property to set.

setValue(value)

 

DEPRECATED: use the 'value' property Set the value with which the actuator operates.

If the value is not compatible with the type of the property, the subsequent action is ignored.

Parameters:
  • value (string)