Module GameTypes :: Class SCA_ORController
[frames] | no frames]

Class SCA_ORController

PyObjectPlus --+            
               |            
          CValue --+        
                   |        
     SCA_ILogicBrick --+    
                       |    
         SCA_IController --+
                           |
                          SCA_ORController

An OR controller activates when any connected sensor activates.

There are no special python methods for this controller.

Instance Methods
bool
isA(game_type)
Check if this is a type or a subtype game_type. (Inherited from GameTypes.PyObjectPlus)
    Deprecated
SCA_IActuator
getActuator(name)
Gets the named linked actuator. (Inherited from GameTypes.SCA_IController)
list [SCA_IActuator]
getActuators()
Gets a list of all actuators linked to this controller. (Inherited from GameTypes.SCA_IController)
integer
getExecutePriority()
Gets the execution priority of this logic brick. (Inherited from GameTypes.SCA_ILogicBrick)
string
getName()
Returns the name of the CValue. (Inherited from GameTypes.CValue)
KX_GameObject
getOwner()
Gets the game object associated with this logic brick. (Inherited from GameTypes.SCA_ILogicBrick)
SCA_ISensor
getSensor(name)
Gets the named linked sensor. (Inherited from GameTypes.SCA_IController)
list [SCA_ISensor]
getSensors()
Gets a list of all sensors attached to this controller. (Inherited from GameTypes.SCA_IController)
int
getState()
Get the controllers state bitmask, this can be used with the GameObject's state to test if the the controller is active. (Inherited from GameTypes.SCA_IController)
 
setExecutePriority(priority)
Sets the priority of this logic brick. (Inherited from GameTypes.SCA_ILogicBrick)
Instance Variables
sequence supporting index/string lookups and iteration. actuators
a list of actuators linked to this controller. (Inherited from GameTypes.SCA_IController)
int executePriority
This determines the order controllers are evaluated, and actuators are activated (lower priority is executed first). (Inherited from GameTypes.SCA_ILogicBrick)
bool invalid
Test if the object has been freed by the game engine and is no longer valid. (Inherited from GameTypes.PyObjectPlus)
string name
The name of this CValue derived object (read-only). (Inherited from GameTypes.SCA_ILogicBrick)
KX_GameObject or None in exceptional cases. owner
The game object this logic brick is attached to (read-only). (Inherited from GameTypes.SCA_ILogicBrick)
sequence supporting index/string lookups and iteration. sensors
a list of sensors linked to this controller (Inherited from GameTypes.SCA_IController)
int bitmask state
the controllers state bitmask. (Inherited from GameTypes.SCA_IController)
bool useHighPriority
When set the controller executes always before all other controllers that dont have this set. (Inherited from GameTypes.SCA_IController)