Is there a function to find events ingame as the player?

Winter Witch

❄️
Veteran
Joined
Dec 29, 2012
Messages
40
Reaction score
29
First Language
German
Primarily Uses
RMMZ
Hello everyone!
I'm currently making a Point-n-click type horror/detective game and realised, that some puzzles and items might be too hard to solve/find in a detailed map.
In many games in the "solve a crime/mystery" genre, there's a function to find clickable objects and I was wondering if there is a way/script to have that in a RPG Maker game as well?
Like, if you are stuck because you miss something, you can press a certain button or use an item to make clickable things visible and maybe find the bookshelf that you needed to continue.
The perfect solution would be somethin in the event itself, to avoid that every lamp or stone in the river blinks by pressing the button.
It would be awesome!
Thanks in advance!

Winter Witch
 

Trihan

Speedy Scripter
Veteran
Joined
Apr 12, 2012
Messages
3,711
Reaction score
2,823
First Language
English
Primarily Uses
RMMZ
The way I would do this would be to have a switch "show hints" set aside, and creating a second page in each event activated by that switch which is the object's graphic with a sparkle on it. Then in the second page, I'd do a short wait followed by turning the switch off.
 

Winter Witch

❄️
Veteran
Joined
Dec 29, 2012
Messages
40
Reaction score
29
First Language
German
Primarily Uses
RMMZ
Thank you very much for the quick response! I will try this, it sounds great
 

Trihan

Speedy Scripter
Veteran
Joined
Apr 12, 2012
Messages
3,711
Reaction score
2,823
First Language
English
Primarily Uses
RMMZ
In order to work properly the page with the wait/switch off needs to be parallel process. Depending on how many interactable events you have, I'd consider having a "master" parallel process common event which is also activated by the "show hints" switch and put the wait/switch off there instead.
 

Andar

Veteran
Veteran
Joined
Mar 5, 2013
Messages
33,371
Reaction score
8,395
First Language
German
Primarily Uses
RMMV
the master switch might not work depending on the exact rules of the puzzle.

it will work if all remaining events should blink on hint, but if only specific ones should blink (for example because the order or timing is important), then you'll need a much more complex event for the hint system.

tell us if you need more help, your description of your puzzle is too short to be sure which way it has to go.
 

Winter Witch

❄️
Veteran
Joined
Dec 29, 2012
Messages
40
Reaction score
29
First Language
German
Primarily Uses
RMMZ
Thank you so much! It worked! I made a common event which activates a switch, wait 60 frames and then deactivates it again. The clickable objects have a second page which is activated by this switch and show a smaller version of the light balls animation. This is exactly what I imagined. I'm gonna make a button with this function so players can click it.
Again, thank you very much!
 

Trihan

Speedy Scripter
Veteran
Joined
Apr 12, 2012
Messages
3,711
Reaction score
2,823
First Language
English
Primarily Uses
RMMZ
Glad to be of assistance!
 

Latest Threads

Latest Posts

Latest Profile Posts

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!

I work late on the game so I sleep in then I wake up late so I have to work hard to make up for sleeping in meaning I work late again and sleep in again... what a nasty cycle.
I just had my first real fire. Dad made burgers for lunch and the grill caught fire. He tried to get water but I told him you should never put water on a grease fire. So I got him the fire extinguisher under the sink and we managed to put it out. I can still smell a little of the smoke coming from the patio, but at least it's clearing. It sure was scary though.
was rendering a video and window decided to bsod on me :D fun
Could not for the life of me figure out how to implement the dual/triple techs in Touch the Stars in a player-friendly way. Was describing all the problems to my wife and just rubber-ducked a solution that should work brilliantly.

Forum statistics

Threads
113,842
Messages
1,077,894
Members
147,912
Latest member
RasenNinja
Top