Using the script force action command isn't working with skills that target the user.

Okay I'm struggling because I'm not used to using the script function but here's the issue, I have a move that does different things based on a handful of variables, I know that this system works because I can use it for attacks on enemies, I am also trying to make a separate move that does specific moves to the user instead using a slightly different common event, I have verified that the skills work, but it doesn't work in the common event I have set up. Here's the line that I think is causing me pain.

subject.forceAction(238, -2)

subject in this instance is the character that uses this move, and the way that this line is run is by using a move that targets the user, any idea why this doesn't work.

P.S. sorry if I rambled I am really tired
P.P.S. not sure if I was coherent about this, but the skill that is being forced is also supposed to target the user
its always good to provide a screenshot of the relevant screens as well as the console tab of the devtools window when you press f12 so we can see the error trace instead of just a description. theres many reasons why this couldnt work, but its difficult to tell just by the one line and a light description.

subject in this instance is the character that uses this move, and the way that this line is run is by using a move that targets the user, any idea why this doesn't work.
for example, you said this is inside a script box for a common event. i have no idea if subject is defined in the first place because it isnt by default and you havent shown anything that makes it a reference to any battler.
its always good to provide a screenshot of the relevant screens as well as the console tab of the devtools window when you press f12 so we can see the error trace instead of just a description. theres many reasons why this couldnt work, but its difficult to tell just by the one line and a light description.


for example, you said this is inside a script box for a common event. i have no idea if subject is defined in the first place because it isnt by default and you havent shown anything that makes it a reference to any battler.
Good point, here's a screenshot of the script section of the common event
1736971864309.png

for context I'm making a character who uses russian roulette as a combat style

Original thread: https://forums.rpgmakerweb.com/threads/using-the-script-force-action-command-isnt-working-with-skills-that-target-the-user.174595/