Automatically Executed Scripts



FaceFX will automatically execute commands found in the following files when the appropriate events occur. The Autoexec.fxl, preloadactor.fxl, postloadactor.fxl, presaveactor.fxl. and postsaveactor.fxl files must be located in the FaceFX install directory, while the files that use the name of the .facefx file must be located in the same directory as the .facefx file. The global files in the installation path are executed before the actor-specific files. In Unreal Engine 3, all files should be located in the executable directory.

  • Autoexec.fxl – Commands in this file are executed when FaceFX Studio opens.
  • preloadactor.fxl – Commands in this file are executed before any actor is loaded.
  • postloadactor.fxl – Commands in this file are executed after any actor is loaded.
  • presaveactor.fxl – Commands in this file are executed before any actor is saved.
  • postsaveactor.fxl – Commands in this file are executed after any actor is saved.
  • FileNameOfFaceFXFile_PreLoad.fxl – Commands in this file are executed before the specific actor is loaded but after the commands in the preloadactor.fxl file.
  • FileNameOfFaceFXFile_PostLoad.fxl – Commands in this file are executed after the specific actor is loaded and after the commands in the postloadactor.fxl file.
  • FileNameOfFaceFXFile_PreSave.fxl – Commands in this file are executed before the specific actor is saved but after the commands in the presaveactor.fxl file.
  • FileNameOfFaceFXFile_PostSave.fxl – Commands in this file are executed after the specific actor is saved and after the commands in the postsaveactor.fxl file.
  • FileNameOfFaceFXFile.fxl – For backwards compatibility, this script is searched for and executed if FileNameOfFaceFXFile_PostLoad.fxl cannot be found.
Version Number: 
2010