| Trees | Indices | Help |
|
|---|
|
|
PyObjectPlus --+
|
CValue --+
|
SCA_ILogicBrick --+
|
SCA_IController --+
|
SCA_PythonController
A Python controller uses a Python script to activate it's actuators, based on it's sensors.
Properties:
|
|||
|
|||
|
|||
| Deprecated | |||
|---|---|---|---|
| string |
|
||
|
|||
| Inherited from SCA_IController | |||
| SCA_IActuator |
|
||
| list [SCA_IActuator] |
|
||
| SCA_ISensor |
|
||
| list [SCA_ISensor] |
|
||
| int |
|
||
| Inherited from SCA_ILogicBrick | |||
| integer |
|
||
| KX_GameObject |
|
||
|
|||
| Inherited from CValue | |||
| string |
|
||
| Inherited from PyObjectPlus | |||
| bool |
|
||
|
|||
| int |
mode the execution mode for this controller (read-only). |
||
| string |
script The value of this variable depends on the execution methid. |
||
| Inherited from SCA_IController | |||
|---|---|---|---|
| sequence supporting index/string lookups and iteration. |
actuators a list of actuators linked to this controller. |
||
| sequence supporting index/string lookups and iteration. |
sensors a list of sensors linked to this controller |
||
| int bitmask |
state the controllers state bitmask. |
||
| bool |
useHighPriority When set the controller executes always before all other controllers that dont have this set. |
||
| Inherited from SCA_ILogicBrick | |||
| int |
executePriority This determines the order controllers are evaluated, and actuators are activated (lower priority is executed first). |
||
| string |
name The name of this CValue derived object (read-only). |
||
| KX_GameObject or None in exceptional cases. |
owner The game object this logic brick is attached to (read-only). |
||
| Inherited from PyObjectPlus | |||
| bool |
invalid Test if the object has been freed by the game engine and is no longer valid. |
||
|
|||
|
|
Deprecated: Use the script attribute instead. |
Deprecated: Use the script attribute instead. |
|
|||
modethe execution mode for this controller (read-only).
|
scriptThe value of this variable depends on the execution methid.
|
| Trees | Indices | Help |
|
|---|
| Generated by Epydoc 3.0beta1 on Wed Aug 26 12:07:42 2009 | http://epydoc.sourceforge.net |