Question about Mog's Chrono Engine's target. Help me plz.

Hi guys, I have a problem and I need your help.

I'm using Mog's Chrono Engine, and I'm developing games using ABS mode.

There is something I need to develop my game, and it does not solve the JS file or other help.
It is the coordinates (x, y) of the Target skill that I last cast.
The reason I need it to develop a game, for example,
1) Set target coordinates with the first skill.
2) Tool event // tool_chain_action: ACTION_ID // In Comment Commands, use the second skill for map coordinates that you specified.

The important thing here is that when you use the second skill, you do not need to recapture the target and you have to launch it directly at the specified coordinates.

I want to implement this, but I do not know how to store the target coordinates of the tool event I used. ex) script commands

Please help me. And have a good day.



//////edit

Oh, I figured out how to return coordinate values while looking for information.

$ gameVariables.setValue (n, this.x) // 'n' is variable number
$ gameVariables.setValue (n, this.y)

If this is scripted to the Movment Route of Tool Event of the first skill, each coordinate value is assigned to the variable.

However, I do not know how to make the second skill to the specified coordinates.
"move_to_target" and "teleportToTarget" will also not work.

Please help me solve this problem.

//////edit

Everything has been resolved and works as I thought.
I solved my assignment by adding a new function to the JS file.
Therefore, this thread is closed.

This thread is being closed, due to being solved. If for some reason you would like this thread re-opened, please report this post and leave a message why. Thank you.

Original thread: https://forums.rpgmakerweb.com/threads/question-about-mogs-chrono-engines-target-help-me-plz.109029/