MZ Visustella Action Sequences - Random Target

I cannot seem to find a way to change the target of anything to a random enemy/ally. The "random target" option does not seem to work at all.
In short, I have a skill that targets a specific enemy, then is supposed to target a random enemy for an additional effect. I can get everything but the target part working.
Any idea how? This is specifically using battle core. I'm not opposed to using scripts if needed
I think the target action sequence commands are meant to be used if you've already given multiple targets for the skill scope. It doesn't work for skills that target one enemy (at least unless you change the targets array). You can google threads here how to target a variable index with Battle Core and then control a random variable in the action sequence. Or just make a lot of conditionals. Probably also works if you use the Battle Core JS Targets to push the whole aliveTroop into the targets (but then change 'all targets' to 'current target' in one target action effects commands).

Original thread: https://forums.rpgmakerweb.com/threads/visustella-action-sequences-random-target.179938/