Move to Target slightly below certain pixel? - Yanfly Action Sequence Help

rechronicle

Mystvaldia
Veteran
Joined
Oct 30, 2013
Messages
137
Reaction score
109
First Language
Bahasa
Primarily Uses
RMMV
Hello,
so I want to make the user move to specific point from the enemy.
Just like below:

Instead of this (Move to base front):
Case 1.jpg

I want the actor to move slightly down to the left from starting point.
Case 2.jpg

Is there a way to do this with the action sequence?
I can't find the way even after scanning through Action Sequence 1, 2, and 3. Hope I am not missing a thing.
Thank you!
 

SwiftIllusion

Veteran
Veteran
Joined
Jan 8, 2016
Messages
103
Reaction score
168
First Language
English
Primarily Uses
What you're looking for is found in Action Pack Sequence 2 :).
You'll want to use the offset, for example based on that screenshot-
"move user: target, front base, 10, offset x -50, offset y +50"
-may be something you could use.
Negative x offset moves the character further left.
Positive y offset moves the character further down.

Here's an excerpt from the plugin's help with some more context/examples.
You may be curious about the optional (offset) argument there for some of
the entries. You can insert any of the below arguments in place of (offset):

offset x +100
offset x -200
offset y +300
offset y -400

This will allow you to offset the distance to the destination by a flat
amount. Positive numbers would indicate forward while negative numbers will
indicate backward.

auto offset x +500
auto offset x -600

However, if you use either of the above, depending on if the user is an
actor or enemy and depending on the target (if there is one) is an actor or
an enemy, it will move them into position accordingly.
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Usage Example: move user: home, 20
move target: forward, 48, 12
move enemy 1: point, 400, 300
move enemy 2: point, 500, 250, offset x -50, offset y -50
move actor 3: target, front base, 20
move user: target, front base, 20, auto offset x -100
 
Last edited:

rechronicle

Mystvaldia
Veteran
Joined
Oct 30, 2013
Messages
137
Reaction score
109
First Language
Bahasa
Primarily Uses
RMMV
@SwiftIllusion
wait a minute... there is an offset argument. I really missed it in my (outdated) hardcopy lol. Thanks for pointing it out! :D:D
 

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

Latest Threads

Latest Posts

Latest Profile Posts


Finally! I've been puzzling over why it wasn't working for two days now. Turns out all of my calculations were correct, I just forgot to give some events hitboxes. :kaoswt: Now my randomly generated maps check for collision errors, and move stuff around in real time if they finds any. :LZSexcite:
Ami
--- OP Candy ---

Kids: Trick Or Treat!
Hero: Alright,here's the Candies (Give A Bunch Of Candy).
Kids: Thank you,Mister! (Running)
Hero: How cute they are…
F.Archer: Did you give them a OP Candy,accidently?
Hero: Huh?
Halloween, a day where kids are encouraged to take candy from strangers.
Stream will be live shortly with a session of the Interactive Text Adventure! Feel free to drop by!
Took a break from spriting dinosaurs to carve a dinosaur pumpkin.

Forum statistics

Threads
104,671
Messages
1,007,980
Members
136,159
Latest member
tomtam
Top