I have tried some different combinations of attributes, but I'm starting to suspect it is necessary with a script for this to work. Unfortunately I do not understand how to make scripts. The best I can do is to edit parts of already made scripts in rare cases where I'm able to see the logic behind it...
...so yes, I'm going to be rude and ask if somebody else could make one for me. Hopefully one day I won't need to ask about this again.