Forum Discussion
10 years ago
"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?
About The Sims 4 Mods & Custom Content
Find expert tips, troubleshooting help, tutorials for mods and custom content, and The Sims 4 patch files in our forum.15,575 PostsLatest Activity: 19 days ago
Community Highlights
Recent Discussions
- 2 hours ago
- 2 hours ago
- 2 hours ago