anyone know what i do to fix this
issue when forcing action
RPG Maker MV SupportForce action doesn't really work in normal events or common events it can only be used in troop events. At least that's how it is for me, I might be wrong though.
It appears as a ? because you're currently editing a map event. Your enemies are determined by the troop ID, so how would the command know what enemy is in what position unless you're using the command in a troop event? It could be anything.
Force Action doesn't even do anything outside of a troop event, since enemies only exist in the battle scene.
Force Action doesn't even do anything outside of a troop event, since enemies only exist in the battle scene.
fix what?
please learn to state your problems next time, because none of us can read your mind.
That said, the posters above are only partially correct.
The engine displays a ? because it cannot know what enemy is in the troop if you are not inside a troop tab in the database. But it DOES remember the index number you select, and tries to apply it if possible.
If used in a map event this is not possible because enemies do not exist outside the battlescreen - you can have events pretending to be enemies, but not the enemies themselve.
If used in a common event, and that common event is called during battlescreen, then it will apply that index if the enemy with that index is still alive. It will do nothing if that enemy isn't there (or never was there), but it will work and use that enemy data if that enemy exists.
please learn to state your problems next time, because none of us can read your mind.
That said, the posters above are only partially correct.
The engine displays a ? because it cannot know what enemy is in the troop if you are not inside a troop tab in the database. But it DOES remember the index number you select, and tries to apply it if possible.
If used in a map event this is not possible because enemies do not exist outside the battlescreen - you can have events pretending to be enemies, but not the enemies themselve.
If used in a common event, and that common event is called during battlescreen, then it will apply that index if the enemy with that index is still alive. It will do nothing if that enemy isn't there (or never was there), but it will work and use that enemy data if that enemy exists.
It's not that I was only partially correct, I was only addressing what the query appeared to be (that the enemy names were showing as ?, which my explanation adequately covered). You're right that the actual functionality of the command doesn't rely on the enemy entries, though, and that it will work for a common event. I should have said "troop event or common event" in my post.
Original thread: https://forums.rpgmakerweb.com/threads/issue-when-forcing-action.145542/