Module KX_GameActuator :: Class KX_GameActuator

Class KX_GameActuator

SCA_ILogicBrick.SCA_ILogicBrick --+    
                                  |    
        SCA_IActuator.SCA_IActuator --+
                                      |
                                     KX_GameActuator

The game actuator loads a new .blend file, restarts the current .blend file or quits the game.

Properties:

Instance Methods
string
getFile()
DEPRECATED: use the file property Returns the filename of the new .blend file to load.
 
setFile(filename)
DEPRECATED: use the file property Sets the new .blend file to load.
integer
getExecutePriority()
Gets the execution priority of this logic brick. (Inherited from SCA_ILogicBrick.SCA_ILogicBrick)
KX_GameObject
getOwner()
Gets the game object associated with this logic brick. (Inherited from SCA_ILogicBrick.SCA_ILogicBrick)
 
setExecutePriority(priority)
Sets the priority of this logic brick. (Inherited from SCA_ILogicBrick.SCA_ILogicBrick)
Instance Variables
int executePriority
This determines the order controllers are evaluated, and actuators are activated (lower priority is executed first). (Inherited from SCA_ILogicBrick.SCA_ILogicBrick)
string. file
the new .blend file to load
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)
Method Details

setFile(filename)

 

DEPRECATED: use the file property Sets the new .blend file to load.

Parameters:
  • filename (string) - The file name this actuator will load.