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

Status
Not open for further replies.

SweetRabbit

Warper
Member
Joined
May 15, 2019
Messages
2
Reaction score
0
First Language
korean
Primarily Uses
RMMV
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.
 
Last edited:

SweetRabbit

Warper
Member
Joined
May 15, 2019
Messages
2
Reaction score
0
First Language
korean
Primarily Uses
RMMV
I solved my assignment by adding a new function to the JS file.
Therefore, this thread is closed.
 

slimmmeiske2

Little Red Riding Hood
Global Mod
Joined
Sep 6, 2012
Messages
7,842
Reaction score
5,225
First Language
Dutch
Primarily Uses
RMXP

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.

 
Status
Not open for further replies.

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Latest Threads

Latest Posts

Latest Profile Posts

Couple hours of work. Might use in my game as a secret find or something. Not sure. Fancy though no? :D
Holy stink, where have I been? Well, I started my temporary job this week. So less time to spend on game design... :(
Cartoonier cloud cover that better fits the art style, as well as (slightly) improved blending/fading... fading clouds when there are larger patterns is still somewhat abrupt for some reason.
Do you Find Tilesetting or Looking for Tilesets/Plugins more fun? Personally I like making my tileset for my Game (Cretaceous Park TM) xD
How many parameters is 'too many'??

Forum statistics

Threads
105,862
Messages
1,017,050
Members
137,571
Latest member
grr
Top