Forum Discussion
SimologyExpert
10 years agoNew Scout
"SimGuruEugi;14486532" wrote:
You might need to allow your command to run in "live" mode:
@sims4.commands.Command('cas.randomize_facial_attributes', command_type=sims4.commands.CommandType.Live)
I actually put some debugging code and added the "command_type=sims4.commands.CommandType.Live" part before I posted this so that it would output to the cheat console and write to a file if it ran successfully or not.
Nothing got printed or written to a file, even the ones at the very start of the command. Oddly enough, typing the command into the cheat console in CAS outputs "Cannot execute command" or something similar.
As a test, I removed "opt_sim:OptionalSimInfoParam=None" from the arguments, and it actually ran, as it wrote some text to a file, however it obviously failed to change the sim's attributes because of the missing argument.
Do I have to pass in any arguments for it to work?