Question about enemy events on map and scripted movement routes / second events involved

Brogar

Villager
Member
Joined
Feb 16, 2017
Messages
29
Reaction score
17
First Language
German
Primarily Uses
RMMV
Hello everybody,
i created an event that acts as an enemy, but couldn't get it to trigger on event touch and not make the movement route on the event at the same time (it will follow the player, when too far from him, wander around when at a certain distance and flee when too near to the player), so i used a controller event for that. Is there a way to make that happening with just one event?
 

ATT_Turan

Forewarner of the Black Wind
Regular
Joined
Jul 2, 2014
Messages
11,035
Reaction score
8,957
First Language
English
Primarily Uses
RMMV
You could put it into the main event - after whatever move route command, just check whether the space in front of it has the character. If yes, start battle processing.
 

Trihan

Speedy Scripter
Regular
Joined
Apr 12, 2012
Messages
6,534
Reaction score
7,048
First Language
English
Primarily Uses
RMMZ
Hello everybody,
i created an event that acts as an enemy, but couldn't get it to trigger on event touch and not make the movement route on the event at the same time (it will follow the player, when too far from him, wander around when at a certain distance and flee when too near to the player), so i used a controller event for that. Is there a way to make that happening with just one event?
When you say you "couldn't get it to" what did you try and what isn't working as expected?
 

Brogar

Villager
Member
Joined
Feb 16, 2017
Messages
29
Reaction score
17
First Language
German
Primarily Uses
RMMV
It was working as expected (not being able to start a battle), i changed the enemy from event touch to parallel, but couldn't find a way to check if the event crashed into the player while being parallel.
 

ATT_Turan

Forewarner of the Black Wind
Regular
Joined
Jul 2, 2014
Messages
11,035
Reaction score
8,957
First Language
English
Primarily Uses
RMMV
couldn't find a way to check if the event crashed into the player while being parallel.
Like I just described :wink:

Screenshot 2023-03-29 135146.png

Put that at the bottom of the event after it moves in whichever direction you tell it to.
 

Brogar

Villager
Member
Joined
Feb 16, 2017
Messages
29
Reaction score
17
First Language
German
Primarily Uses
RMMV
Ah, my bad, how could i have missed that, thanks :) Isn't working for what i'm trying to do because most of the time the event is not facing the player, but i can get it to work from here on

Update:
ok, got it working, thanks again, thread can be closed.
 
Last edited:

Latest Threads

Latest Posts

Latest Profile Posts

Brain: Hey! Let's draw something inspired by Tangela.
Result: Hartestant.png

Brain: What the hell man! That's it, I'm out!
Mockup thinghie for a turn based Tactics gameplay!
mockup.png
This hero got 99 problems, but an elf ain't one of them. Just enjoying the sunset with Prim.
Some storyboard thingies for an opening cutscene, I started work on it a couple months ago but I didn't get much done.
Cutscecne-Story-Board.png
Is it okay to post links to your game when its completed in the profile posts here? I'm wondering because I've never done it out of concern it may come off as gauche, or may be against some rule or something, but I've seen others do it.

Forum statistics

Threads
134,797
Messages
1,250,746
Members
177,590
Latest member
MonoNSFWArt
Top