executePriority
executePriority
get/sets the execute priority of the logic brick
Type: integer
Sample Code
################## Get executerPriority
# get the controller
controller = GameLogic.getCurrentController()
# get the actuator attached to the controller named act
act = controller.actuators["act"]
# get brick priority
priority = act.executePriority
################## Set executerPriority
# get the controller
controller = GameLogic.getCurrentController()
# get the actuator attached to the controller named act
act = controller.actuators["act"]
# set brick priority
act.executePriority = 2
|