Costantino97

Warper
Member
Joined
Jan 6, 2019
Messages
4
Reaction score
0
First Language
Italian
Primarily Uses
RMMV
There is a script command that allow me to save the exact position(x,y) of a single actor/enemy (maybe using actor/enemy 's id) into a variable?I need it to make a skill like kamehameha that start from the player and finish in the targeted enemy.
 

Andar

Veteran
Veteran
Joined
Mar 5, 2013
Messages
35,814
Reaction score
9,469
First Language
German
Primarily Uses
RMMV
if you're talking about the map, no need for scripts - that is one of the basic functions of the control variable command.
Just open the game data section of that event command (the section that is set to map id as default but has hundreds of other options)
 

Costantino97

Warper
Member
Joined
Jan 6, 2019
Messages
4
Reaction score
0
First Language
Italian
Primarily Uses
RMMV
thanks for the reply i'm sorry i cannot read it before.I know how to obtain the x and y position of the player in the map,but i need the position on
the screen of the player and enemy during battle.
 

Andar

Veteran
Veteran
Joined
Mar 5, 2013
Messages
35,814
Reaction score
9,469
First Language
German
Primarily Uses
RMMV
the default battleengine doesn't care for those, and if you need them for some action sequences then that depends on the plugin you're using for those action sequences.

Please give more details on what exactly you want to do.
 

Costantino97

Warper
Member
Joined
Jan 6, 2019
Messages
4
Reaction score
0
First Language
Italian
Primarily Uses
RMMV
I want to create a skill that start from the player and reach the targeted enemy,the animation is a beam like a kamehameha.To do that i'm using
the DG_PlaceAnimation plugin (http://driftwoodgaming.com/mv-plugins/) that let me create a common event that place any number of animation
whatever i want so i can create the beam like in this video:.
The problem is that my skill is a single target skill(not aoe like in the video) but the plugin command provided whit dg_placeanimation require the
x and y position of the animation,so if i can save the position of the player and the enemy into some variables,i can give those and add some constants to make a precise skill
 

Latest Threads

Latest Posts

Latest Profile Posts

Beep-Beep-Motha-facka.gif

Just finished and uploaded the delivery truck base/sprite sheet. I've been steadily replacing the default assets with early modern alternatives. The air-ship for a biplane, horse-drawn wagon for a delivery truck, and next a sailboat for a steam-powered passenger liner (think of the SS Olympic and RMS Titanic).
I caught a shiny magikarp on pokemonGO today AND finally saw Detective Pikachu and it was so cute and I'm still so hype AHHHHH!!!
one of the coolest things I've learned from the forums is the ability to give yourself a hitbox. I have a move you can do on the fields. shoulder tackle. thanks to the forums, that tackle triggers self A switches on some events. NPC's and the environment now react to the tackle. awesome.
I really liked how this one turned out! :kaopride:
WYqMPf6.png

Character (Yes, this is a character): Nibiru the Primal Being from Yugioh.
Dragon Quest style enemy selection plugin work in progress:

Quest_Targeting.png

It's a simple targeting system from the NES era. Select an enemy group; single-target skills will target the first enemy in that group.

Quest-Targeting-Animated.gif

Forum statistics

Threads
121,945
Messages
1,145,352
Members
160,218
Latest member
Tarasyring
Top