TheFe91

Villager
Member
Joined
Oct 5, 2017
Messages
8
Reaction score
0
First Language
Italian
Primarily Uses
RMMV
Hi everyone!
I have an event that triggers when it sees my player (= when the event is facing the player).

I am using the "Facing_Towards_Player_Conditional" plugin.

This works pretty well, but the problem is that the event triggers even if there is a wall between the event and the player.

Does anybody know how to solve this?

Thank you very much!
 

Ihavenoskin

Veteran
Veteran
Joined
Sep 2, 2017
Messages
109
Reaction score
100
First Language
English
Primarily Uses
RMMV
Hello

I use Yanfly event chase player, event chase stealth and region restrictions plugins.

These 3 combined mean you literally have all you need as you can control what regions events can spot you in, and at what distance etc.

Hope this helps :)
 

TheFe91

Villager
Member
Joined
Oct 5, 2017
Messages
8
Reaction score
0
First Language
Italian
Primarily Uses
RMMV
Hi! I have those 2 plugins too...may you please explain me how to make this thing work using those plugins? Thank You!! :)
 

Ihavenoskin

Veteran
Veteran
Joined
Sep 2, 2017
Messages
109
Reaction score
100
First Language
English
Primarily Uses
RMMV
Hi! I have those 2 plugins too...may you please explain me how to make this thing work using those plugins? Thank You!! :)
Yeah sure... I hope. What I imagined is set the stealth region on the stealth plugin; the paint the region the other side of the wall and anywhere you don't want the particular event to notice you.

On the Event Notes at the top input <Follower Trigger>

On the event you can set the movement route to custom and use the plug in script call
this._chaseRange = X (change X to a number)
this._returnAfter = true (to return the event to original location)

This will be the range to chase you and then the region will prevent the spotting through the wall.
 
Last edited:

Latest Threads

Latest Profile Posts

Just a little close up shot...
w2xZocX.jpg
finally drew the last member of "team outcast" for my game. since my game has a lot fighting game elements in it, there's bosses in teams of three like King of Fighters.
What do you guys think about Survival mechanics in games (Hunger, thirst, etc.)?
Do you find them to be an enjoyable obstacle or a bit of a nuisance?

Asking for a friend... :stickytongue:
Run Script Calls & Play Unique Sound Effects With Each Skill & Item | RPG Maker News #113

Let's continue making our game in MZ! Touchfuzzy is... still eventing... though this time we may be working on eventing some tutorial stuff for our players!

Forum statistics

Threads
113,852
Messages
1,077,932
Members
147,932
Latest member
balthier
Top