Running a script inside a Sim4Life project from the command line
-
There is a way to start Sim4Life via command line along with an existing .smash-File and a Python Script file, so that Sim4Life automatically runs everything specified in the Python script file:
Sim4Life.exe project.smash --run script.py
or
Sim4Life.exe project.smash --run_and_exit script.py
if you want to exit Sim4Life after the script completes.