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

Brogar

Villager
Member
Joined
Feb 16, 2017
Messages
29
Reaction score
16
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
Veteran
Joined
Jul 2, 2014
Messages
8,718
Reaction score
6,537
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
Veteran
Joined
Apr 12, 2012
Messages
6,141
Reaction score
6,289
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
16
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
Veteran
Joined
Jul 2, 2014
Messages
8,718
Reaction score
6,537
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
16
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

Ooops ended up trying out making my own A2 tile page instead of testing doors everywhere. Went well so far I think.
I guess I'm done making a blue squirrel's life difficult for posting new threads on different forums.
That's just for today so don't get used to this, squirrel-ish friend! :p
Got new hard drive, now trying to install the softwares I lost to the dead drive, and more than half of them won't install because they're already installed on the dead drive, and uninstallers won't run because they can't find where their programs are installed. So I take it having a drive die on you screws you in more ways than just data loss. >:\
PC got fixed finally. Back online again. Turns out I have no business trying to self repair pcs because it was getting to like 176F / 80C. Shop installed a totally new cooling system and now it runs fine and is super quiet.
When you're making major progress, but have to stop to go to work.

Forum statistics

Threads
131,486
Messages
1,220,212
Members
173,225
Latest member
ZecaVn
Top