I want to make event touch player
then move player backward from where event(enemy move toward player) approach
like it kick player
any Idea or plugin that work out this way
thank you
any event can use set move route targeted on the player to make the player move in any way you want.
For more details you would have to give us a better description of what you want, because your description is a bit confusing.
thank you
sorry my english not good
I mean
npc--->touch player--->player move backward from face of npc
For full effect, you need to use positional mathematics. It is difficult to explain if you don't know those mathematics (especially through a language barrier), but easy if you know them.
basically you need for variables, playerX playerY eventX eventY. You need to use control variable to load the coordinates into them.
then compare them with a series of conditional branches and control variable commands to identify the relative position of both player and NPC on contact.
Depending on which directions they have relative to each other, you use set movement route targeted on the player with a move into that direction and a turn into the opposite direction.
If you don't understand that, then you need to tell us which part you didn't understand - how to handle the mathematics, or the specific event commands used.
I understand how that work in other program like stencyl(flash base engine with gui)
like move actor x+/-x2,y+/-y2 by x,y is position of npc by face direction
but in rpg maker mv
I don't know how to get face direction of npc and tell player to move away back from that
it has step backward but that only from player actor face direction
I think yes I dont understand which command to use
What is a "collapse function" ? And where and why do you need one?
And yeah it doesnt matter if the ifs are in the ifs or not in this case. =)
no... it's a joke
but I can't make good joke with my poor english
collapse = hide the long mess branch that I did -....-
and...
now I had other problem with this function combo with mog hunter sensor event plugin
(plugin that detect player coming near event then change event selfswitch)
something wrong and I can't control my character -0-
but I know this is specific issue can't ask you haha -...-
Not me but the community you can ask.
You mean you cant control your Player or do you mean the Event? What exactly is happening?
nah
already find it out
my stupid copy paste event page
I forgot to turn auto run of -....-
thank you