Event Touch Trigger Issue

BrokemScreamBox

Villager
Member
Joined
Aug 10, 2014
Messages
14
Reaction score
0
First Language
English
Primarily Uses
I'm trying to make a chase scene, but the Event Touch won't trigger the event for death or transfer unless my character moves. Is there some way to remedy this?
 

Shaz

Veteran
Veteran
Joined
Mar 2, 2012
Messages
40,098
Reaction score
13,704
First Language
English
Primarily Uses
RMMV
Is the player beside or on the event? Is the event moving? Does the event touch the player or does the player touch the event? Do they somehow start off in the same position? Is the event set to Below/Same as/Above Characters?


Maybe a screenshot of your event, with the whole event window shown, would be useful. You haven't given us very much to work with.
 

ScaniX

Warper
Member
Joined
Aug 11, 2014
Messages
1
Reaction score
0
First Language
german
Primarily Uses
To me it sounds like you are using "touch by player" and not "touch by event" as the trigger for the moving event (monster?).

"Touch by player" means that it is triggered when the player is trying to walk against it (towards the same field)

"Touch by event" means that is is triggered if the event is touching the player or the player is touching the event. I used this for some enemies to attack whether I walk towards them or the other way round.

There was ONCE a situation where the event just stopped working and I had to play around with the settings to "wake it up" again. :)
 

BrokemScreamBox

Villager
Member
Joined
Aug 10, 2014
Messages
14
Reaction score
0
First Language
English
Primarily Uses
Is the player beside or on the event? Is the event moving? Does the event touch the player or does the player touch the event? Do they somehow start off in the same position? Is the event set to Below/Same as/Above Characters?

Maybe a screenshot of your event, with the whole event window shown, would be useful. You haven't given us very much to work with.
The player is a distance from the event when it starts and the event is supposed to chase after the text finishes. The player steps on an event that turns on a switch for the moving event to activate. The moving event it set to Above Characters, since its graphic is a cloud that is supposed to engulf the player.

I have yet to learn how to take a screenshot. Do you need all the event pages? Or just one?

To me it sounds like you are using "touch by player" and not "touch by event" as the trigger for the moving event (monster?).

"Touch by player" means that it is triggered when the player is trying to walk against it (towards the same field)

"Touch by event" means that is is triggered if the event is touching the player or the player is touching the event. I used this for some enemies to attack whether I walk towards them or the other way round.

There was ONCE a situation where the event just stopped working and I had to play around with the settings to "wake it up" again. :)
It's certainly on "Event Touch." It just doesn't work when the player is standing still.
 

Zoltor

Veteran
Veteran
Joined
Jan 18, 2014
Messages
1,550
Reaction score
211
First Language
English
Primarily Uses
The player is a distance from the event when it starts and the event is supposed to chase after the text finishes. The player steps on an event that turns on a switch for the moving event to activate. The moving event it set to Above Characters, since its graphic is a cloud that is supposed to engulf the player.

I have yet to learn how to take a screenshot. Do you need all the event pages? Or just one?

It's certainly on "Event Touch." It just doesn't work when the player is standing still.
I'm pretty sure the problem is you set it to above char, because how can a event touch a player, if It's above him/her lol.

Set it to same as player, and through, that should make it work, and have the effect that you want it to have.
 
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
How to take a Screenshot:


You've heard people say to take a screenshot, but how does one take a screenshot of their game? Simple, while the game is running, hit the Prt Scr button on your keyboard, which is located right next to your F12 key. If you're using a laptop, you might have to use the Fn key in combination with the Prt Scr key to get it to work.

Now that you've pressed the button, it's time to paste this screenshot into an image editing software. If you don't have anything fancy such as Adobe Photoshop, GIMP or Paint.NET, no worries; you can use MS Paint instead. Open up your image editing software, create a new file, and then hit ctrl+v on your keyboard, or simply right click on the screen and select paste. This should instantly paste the screenshot into your image editing software. You can go ahead and crop the image to suit your needs, or if you don't even know what that means, you can just upload it as it is.

Save the image as a PNG, or if you really need to, as a high quality JPG.


How to upload the image to the forums


Now that you have you have an image on your computer you'd like to show us, how can you get it to show up on the forums? Firstly, you need to find an image hosting site, photobucket.com or imageshack.us are popular ones. If you have another image uploading website, great - use that one! Either way, upload it to the site, and then get the direct link. Don't get the resized link, or the thumbnail link, but the direct URL. You'll know you have the direct URL if the URL ends with the file extension you saved your image in (which will hopefully be .png).



Once you have this direct URL to your image, simply use the IMG tags in your forum post and paste the URL in between them. If this image is big, please leave the image in spoiler tags.

IMG tags:



So is the trouble that the event doesn't chase after the player as it should? Or does it chase the player, but will not trigger when it comes into contact with the player?


Please show ALL pages of the event. If it doesn't chase the player when the switch is turned on, also include screenshots of the event that turns on the switch.


Edit: Yeah, Zoltor may be right there. The Game_Player.start_map_event does have a condition that says the trigger has to be correct AND the event has to have "normal" priority (same as characters).


Which is strange, as I always thought you could set an event to be below or above the characters and it would still start, but the player and event had to be on the SAME tile. And I thought when you create events that are Player Touch and have no sprite, they go to Below Characters by default.
 
Last edited by a moderator:

BrokemScreamBox

Villager
Member
Joined
Aug 10, 2014
Messages
14
Reaction score
0
First Language
English
Primarily Uses
I'm pretty sure the problem is you set it to above char, because how can a event touch a player, if It's above him/her lol.

Set it to same as player, and through, that should make it work, and have the effect that you want it to have.
When set to "Same as" and "through," the event just lingers over the player and doesn't trigger at all. "Above" works as long as the player is moving. I just need the event to be able to work even while the player is standing. 

So is the trouble that the event doesn't chase after the player as it should? Or does it chase the player, but will not trigger when it comes into contact with the player?

Please show ALL pages of the event. If it doesn't chase the player when the switch is turned on, also include screenshots of the event that turns on the switch.

Edit: Yeah, Zoltor may be right there. The Game_Player.start_map_event does have a condition that says the trigger has to be correct AND the event has to have "normal" priority (same as characters).

Which is strange, as I always thought you could set an event to be below or above the characters and it would still start, but the player and event had to be on the SAME tile. And I thought when you create events that are Player Touch and have no sprite, they go to Below Characters by default.
Here are the screenshots of the pages.

The event that must be stepped on

The event that switches on

The event that I have problems with

After trigger

End

The event chases the player just fine. It's just that it does not trigger if the player doesn't move a step. If the player stands still and the event catches up, it'll just linger above the player until he/she moves a tile.
 
Last edited by a moderator:

Andar

Veteran
Veteran
Joined
Mar 5, 2013
Messages
31,365
Reaction score
7,675
First Language
German
Primarily Uses
RMMV
We will need screenshots of the custom autonomous moves you set, as this will afffect quite a lot of those pages.


One problem on your page 3: autorun on a page with a autonomous movement will always be tricky, because autonomous movement is parallel to everything else. Basically it's guesswork if the autonomous movement can be completed before the autorun comes to an end.


And since page 2 does nothing but activate page 3 on touch, why don't you move the commands from page 3 to page 2 andcompletely eliminate the autorun page 3? that should improve the event a lot.


Please do not crop your screenshots in the future - you removed several important informations from them by cropping them. In this specific case that might not matter, but it will make the difference for quite a lot of events you might write in the future.
 

BrokemScreamBox

Villager
Member
Joined
Aug 10, 2014
Messages
14
Reaction score
0
First Language
English
Primarily Uses
We will need screenshots of the custom autonomous moves you set, as this will afffect quite a lot of those pages.

One problem on your page 3: autorun on a page with a autonomous movement will always be tricky, because autonomous movement is parallel to everything else. Basically it's guesswork if the autonomous movement can be completed before the autorun comes to an end.

And since page 2 does nothing but activate page 3 on touch, why don't you move the commands from page 3 to page 2 andcompletely eliminate the autorun page 3? that should improve the event a lot.

Please do not crop your screenshots in the future - you removed several important informations from them by cropping them. In this specific case that might not matter, but it will make the difference for quite a lot of events you might write in the future.
Ah, I'll keep that no cropping thing in mind.

Page 3's autonomous movement does not affect the event, really, but I changed it to 'fixed' anyway. Page 2's only autonomous movement is to move toward the player. I actually need that there for the chase. Or the illusion of one, since there's really no way to escape the event.
 

BrokemScreamBox

Villager
Member
Joined
Aug 10, 2014
Messages
14
Reaction score
0
First Language
English
Primarily Uses
Ooh! I found a solution! I just needed to put the Page 2 on a parallel process and have the event trigger when the variables for player's coordinates and event's coordinates match. Thanks everyone for your help, though!
 

Andar

Veteran
Veteran
Joined
Mar 5, 2013
Messages
31,365
Reaction score
7,675
First Language
German
Primarily Uses
RMMV
in that case, you should place the commands from page 3 on page 3 and delete page 3.
 

Shaz

Veteran
Veteran
Joined
Mar 2, 2012
Messages
40,098
Reaction score
13,704
First Language
English
Primarily Uses
RMMV
BrokemScreamBox, please avoid double posting, as it is against the forum rules. You can review our forum rules here. Thank you.


Just edit your last post instead.


I can't see your screenshots, but I suspect Andar meant to say to play the commands from page 3 on page 2 (not on page 3) and then delete page 3.
 

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,862
Messages
1,017,050
Members
137,571
Latest member
grr
Top