Event Touch not functioning

mushputato

Villager
Member
Joined
Oct 5, 2014
Messages
5
Reaction score
0
First Language
English
Primarily Uses
Hello, sorry if this is a commonly-asked question but I couldn't find it previously asked on the forum.


Basically, the Event Touch trigger for my events isn't working correctly - When approaching a player, instead of colliding and triggering the event in question, it just sort of hangs there awkwardly, only triggering if the player moves against the event, as would be the case with the Player Touch trigger. This means that, say, a guard who chases down the player in order to attack them will just halt and stand there awkwardly if the player stays still, and indeed will keep following behind at the player's pace so long as you don't directly walk into them.


It's really frustrating because it's utterly game-breaking - Imagine if Ao Oni consisted of the demon racing toward the player, then standing around awkwardly behind them, breathing down the back of their neck like an unwanted extra party member. I've tried using 'Through', but it makes no difference, they just refuse to collide with the player.


The movement I've been using is Approach, although I've also tried using Custom to Move Toward Player on loop. Really need to know how to fix this.


Thank you.
 

Andar

Veteran
Veteran
Joined
Mar 5, 2013
Messages
31,365
Reaction score
7,675
First Language
German
Primarily Uses
RMMV
Please post a screenshot of the page of the event that has problems, and list the scripts you have installed.


This can only happen if either you broke the game engine with a script or if you made the event in a wrong way, and we can only help you find where you made a mistake when you show us what you did.
 

Shaz

Veteran
Veteran
Joined
Mar 2, 2012
Messages
40,098
Reaction score
13,704
First Language
English
Primarily Uses
RMMV
Is your event's priority set to Same as Characters?
 

mushputato

Villager
Member
Joined
Oct 5, 2014
Messages
5
Reaction score
0
First Language
English
Primarily Uses
Enclosed is a screenshot of the event page in question.


Priority is set to Same as Characters, but I've tried Above and Below before - In these cases, it moves under or over the player, but still only activates if the player moves. At this point however, I could just be satisfied with that if I've broken the game or something, as it's technically a very small part of this current project, and fundamentally it fills the same role, as a player will trigger it as soon as they move.


The script I have installed is 'Khas Awesome Light Effects'.


There was an additional movement-related script I used beforehand, but I deleted it from the game files.


Thank you for the prompt responses.


Bug 1.png
 

Andar

Veteran
Veteran
Joined
Mar 5, 2013
Messages
31,365
Reaction score
7,675
First Language
German
Primarily Uses
RMMV
please provide a screenshot of the second event page as that has a higher priority.


How did you delete the other movement script? Because if you made a mistake there, that script might still be active.


Especially, check all "empty" script slots if there is a script there that you forgot to name


Have you tested this with starting a new game, or loading a saved file?
 

mushputato

Villager
Member
Joined
Oct 5, 2014
Messages
5
Reaction score
0
First Language
English
Primarily Uses
I deleted the previous movement script by selecting it and pressing DEL on the keyboard.


I've also searched the relevant script files and there's no sign of it.


Regardless, having tested a New Game, I've found that the issue is resolved - So to solve this dilemma, I suppose could simply create a new game and relocate the current game files into it. Thank you for the help.
 

Andar

Veteran
Veteran
Joined
Mar 5, 2013
Messages
31,365
Reaction score
7,675
First Language
German
Primarily Uses
RMMV
that is not what I meant - new game is the option on the title menu, and you probably have confused that with new project in the editor.


If a new project works, then there is something still wrong in your scripts - something you changed and forgot.
 

mushputato

Villager
Member
Joined
Oct 5, 2014
Messages
5
Reaction score
0
First Language
English
Primarily Uses
Oh, my mistake. But yes, starting a new game doesn't fix the issue, so I think it is something hidden in the scripts that I've forgotten about.


Thank you for the assistance, it's good to know it isn't me just running events incorrectly.


This thread can probably be closed now.
 
Last edited by a moderator:

Shaz

Veteran
Veteran
Joined
Mar 2, 2012
Messages
40,098
Reaction score
13,704
First Language
English
Primarily Uses
RMMV
Well, not really - until you know what's caused it and have fixed it, otherwise you don't know when it's going to pop up again.


Did you go through all your scripts, as Andar suggested, particularly looking at the unnamed slots, to see if anything's in there?
 

mushputato

Villager
Member
Joined
Oct 5, 2014
Messages
5
Reaction score
0
First Language
English
Primarily Uses
Sorry to necropost, but I solved the issue.


Turns out, Event Touch doesn't function correctly if Direction Fix is on.


I'm posting this fix in case anyone else runs into the same problem.


Thank you for the help, it was extremely useful.
 

Shaz

Veteran
Veteran
Joined
Mar 2, 2012
Messages
40,098
Reaction score
13,704
First Language
English
Primarily Uses
RMMV
Event Touch requires either the player to touch the event (same as Player Touch), or for the event to touch the player.  For the event to touch the player, the event has to be facing the player.  I missed that you had the Direction Fix box checked on that event.  The event's facing direction would depend on the row its sprite came from - if it was the top row, it's facing down.  If it was the second row, it's facing left, the third row is facing right (or vice versa), and if it was on the bottom row it is facing up.  


It looks like some kind of rocket, so I'm guessing it would approach the player from below?  In that case the sprite would need to be on the 4th or 8th row of the spritesheet in order for it to be facing the correct direction to trigger an event touch, if it approaches the player from below.
 

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

Latest Threads

Latest Posts

Latest Profile Posts

Couple hours of work. Might use in my game as a secret find or something. Not sure. Fancy though no? :D
Holy stink, where have I been? Well, I started my temporary job this week. So less time to spend on game design... :(
Cartoonier cloud cover that better fits the art style, as well as (slightly) improved blending/fading... fading clouds when there are larger patterns is still somewhat abrupt for some reason.
Do you Find Tilesetting or Looking for Tilesets/Plugins more fun? Personally I like making my tileset for my Game (Cretaceous Park TM) xD
How many parameters is 'too many'??

Forum statistics

Threads
105,863
Messages
1,017,053
Members
137,571
Latest member
grr
Top