SCA_IController(SCA_ILogicBrick)

base class — SCA_ILogicBrick

class SCA_IController(SCA_ILogicBrick)

Base class for all controller logic bricks.

state

The controllers state bitmask. This can be used with the GameObject’s state to test if the controller is active.

Type

int bitmask

sensors

A list of sensors linked to this controller.

Type

sequence supporting index/string lookups and iteration.

Note

The sensors are not necessarily owned by the same object.

Note

When objects are instanced in dupligroups links may be lost from objects outside the dupligroup.

actuators

A list of actuators linked to this controller.

Type

sequence supporting index/string lookups and iteration.

Note

The sensors are not necessarily owned by the same object.

Note

When objects are instanced in dupligroups links may be lost from objects outside the dupligroup.

useHighPriority

When set the controller executes always before all other controllers that dont have this set.

Type

boolen

Note

Order of execution between high priority controllers is not guaranteed.