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,826
Reaction score
6,642
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,149
Reaction score
6,295
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,826
Reaction score
6,642
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 Profile Posts

x5uDBb.png


Big update incoming tomorrow! After some streamer feedback I am adding and recreating multiple facets of the game! Expect:

  • New Challenge Modes!
  • Completely revamped stats and attack types!
  • Additional positioning options!
  • More hidden easter eggs, will you find them??
  • Additional balancing!
Quick little one day make. Having mimosas on a boat tomorrow but wanted to feel productive today. Ask me about my sunburn later.

GABposterwork.png

Working on a new poster.
I just posted the first devlog for The Hidden Art of Innkeeping: https://seaphoenix.itch.io/hiddenart!

BeachLogo.png
Might start playing some rpg maker games and uploading the games on youtube. Realistically they're not going to be for views. Just to give anyone some feedback on any games they're working on. So if you'd like me to play and review your game just reply them down here. And I'll upload them on Rpg4MGames.

Forum statistics

Threads
131,617
Messages
1,221,621
Members
173,346
Latest member
Hereticuss
Top