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,708
Reaction score
2,813
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,708
Reaction score
2,813
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,350
Reaction score
8,390
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,708
Reaction score
2,813
First Language
English
Primarily Uses
RMMZ
Glad to be of assistance!
 

Latest Threads

Latest Profile Posts

I'm heading back to Orlando tomorrow! Dad said he's going to take me to my favorite arcade and maybe Aquatica.
animated message windows <3
or message window that uses background images that can be animated?
Still need to fix some things, but it's going great so far :)
CEPjLJn.gif
just when I thought one of the greatest game of all time couldn't get any better, they announce a new dlc for it.
For anyone interested: there's another huge humble bundle with JRPG assets + a game jam starting next month - it's for a good cause, so check it out <3
Turning a specific vibe into reality is incredibly difficult. For instance, this song is one of the ones I listen to when working on my post apocalyptic project, and getting it's "feeling" into the game has been a real challenge.

Forum statistics

Threads
113,783
Messages
1,077,430
Members
147,818
Latest member
PangfoonTH
Top