Home | Trees | Indices | Help |
|
---|
|
SCA_ILogicBrick.SCA_ILogicBrick --+ | SCA_ISensor.SCA_ISensor --+ | KX_NetworkMessageSensor
The Message Sensor logic brick.
Currently only loopback (local) networks are supported.
Instance Methods | |||
|
|||
integer |
|
||
list |
|
||
string |
|
||
list |
|
||
integer |
|
||
integer |
|
||
|
|||
boolean |
|
||
KX_GameObject |
|
||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
Class Variables | |
int | framemessageCount |
Instance Variables | |
list of strings |
bodies The list of message bodies received. |
int |
executePriority This determines the order controllers are evaluated, and actuators are activated (lower priority is executed first). (Inherited from SCA_ILogicBrick.SCA_ILogicBrick) |
frameMessageCount The number of messages received since the last frame. |
|
int |
frequency The frequency for pulse mode sensors. (Inherited from SCA_ISensor.SCA_ISensor) |
boolean |
invert Flag to set if this sensor activates on positive or negative events. (Inherited from SCA_ISensor.SCA_ISensor) |
boolean |
level Flag to set whether to detect level or edge transition when entering a state. (Inherited from SCA_ISensor.SCA_ISensor) |
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) |
boolean |
positive True if this sensor brick is in a positive state. (Inherited from SCA_ISensor.SCA_ISensor) |
string |
subject The subject the sensor is looking for. |
list of strings |
subjects The list of message subjects received. |
boolean |
triggered True if this sensor brick is in a positive state. (Inherited from SCA_ISensor.SCA_ISensor) |
boolean |
useNegPulseMode Flag to turn negative pulse mode on and off. (Inherited from SCA_ISensor.SCA_ISensor) |
boolean |
usePosPulseMode Flag to turn positive pulse mode on and off. (Inherited from SCA_ISensor.SCA_ISensor) |
Method Details |
DEPRECATED: Use the subject property instead. Change the message subject text that this sensor is listening to.
|
DEPRECATED: Use the frameMessageCount property instead. Get the number of messages received since the last frame.
|
DEPRECATED: Use the bodies property instead. Gets the list of message bodies.
|
DEPRECATED: Use the subject property instead. Gets the message subject this sensor is listening for from the Subject: field.
|
DEPRECATED: Use the subjects property instead. Gets the list of message subjects received.
|
Instance Variable Details |
bodiesThe list of message bodies received. (Read-only)
|
frameMessageCountThe number of messages received since the last frame. (Read-only) |
subjectsThe list of message subjects received. (Read-only)
|
Home | Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0 on Fri Apr 24 17:51:19 2009 | http://epydoc.sourceforge.net |