Module KX_GameActuator :: Class KX_GameActuator

Class KX_GameActuator

source code

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.

Instance Methods
string
getFile()
Returns the filename of the new .blend file to load.
source code
 
setFile(filename)
Sets the new .blend file to load.
source code

Inherited from SCA_ILogicBrick.SCA_ILogicBrick: getExecutePriority, getOwner, setExecutePriority

Method Details

setFile(filename)

source code 
Sets the new .blend file to load.
Parameters:
  • filename (string) - The file name this actuator will load.