Prevent Events from Turning Towards Player

Status
Not open for further replies.

R-Soul

Battle Sonata
Veteran
Joined
May 22, 2013
Messages
56
Reaction score
12
First Language
Spanish
Primarily Uses
If you make an event that has as trigger either player touch or event touch, and the player touches that event, immediately before executing whatever code you placed in it, that event will turn towards our direction.

My question is the following, Is it possible to prevent an event to turn to the player's direction when interacting with it THAT ISN'T DIRECTION FIX?

(I still want the event to be able to turn to other directions as it walks around, I simply don't want the event to turn towards the player)

That said, I have to add that I only want this feature for some particular events, and not all of them. So if you know a script that might help, it should let me decide which event's wont turn (via script call, comment or w/e).

Thank you~
 

In case you were wondering, what I'm doing is a common event where I check if the player touches the event's back (the event is moving). But if i put the (ie) condition: "Player is turning up and event is turning up" and "event's y < player's y" (RM Y Axis is inverted) turn Switch No. 10 On.

But as you can tell, this doesn't work since the event will turn towards the player BEFORE executing these orders.
 
Last edited by a moderator:

Zane

Food for thought
Veteran
Joined
Jun 9, 2013
Messages
913
Reaction score
110
First Language
US English
Primarily Uses
You can still use direction fix just before the event interacts use an event movement command and turn on direction fix. When the event is done talking to you, do another movement command and turn it off. :)
 
Last edited by a moderator:

R-Soul

Battle Sonata
Veteran
Joined
May 22, 2013
Messages
56
Reaction score
12
First Language
Spanish
Primarily Uses
You can still use direction fix just before the event interacts use an event movement command and turn on direction fix. When the event is done talking to you, do another movement command and turn it off. :)
It works O=, however it'll be quite troublesome to plan out, since I need the event to follow the player (yes, I forgot to put that), meaning it might turn indefinite times while doing so... While this leaves the event on a fixed route =\

THANK YOU THOUGH, I'll just wait for some other solutions~ But I really do appreciate the help.

EDIT: I just remembered of the turn toward player command while on a fixed route, I'll get back to you when I try it out.

EDIT 2: OK so I managed to make it work~ It'll require that I device the event's visual range, but It'll be worth the trouble as long as it works in the long run. So, thank you very much ^-^. I'll still wait for some other answers though, just in case someone else has a better solution or someone else wants it simpler~
 
Last edited by a moderator:
Status
Not open for further replies.

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

Latest Threads

Latest Posts

Latest Profile Posts

How many parameters is 'too many'??
Yay, now back in action Happy Christmas time, coming back!






Back in action to develop the indie game that has been long overdue... Final Fallacy. A game that keeps on giving! The development never ends as the developer thinks to be the smart cookie by coming back and beginning by saying... "Oh bother, this indie game has been long overdue..." How could one resist such? No-one c
So I was playing with filters and this looked interesting...

Versus the normal look...

Kind of gives a very different feel. :LZSexcite:
To whom ever person or persons who re-did the DS/DS+ asset packs for MV (as in, they are all 48x48, and not just x2 the pixel scale) .... THANK-YOU!!!!!!!!! XwwwwX

Forum statistics

Threads
105,853
Messages
1,016,990
Members
137,562
Latest member
tamedeathman
Top