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,824
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,824
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,372
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,824
First Language
English
Primarily Uses
RMMZ
Glad to be of assistance!
 

Latest Threads

Latest Posts

Latest Profile Posts

BCj
Working on Escalia again, feels good. Have this overwhelming urge to map as well, but need to get some extra tiles commissioned first :D
Lee Sang wrote on Bandito's profile.
Hi, I've just tried your plugin "Game is Active" and when I tested it on Android, it gave me an error, something about "Cannot read property 'underfined' of underfined.
With my project, I want the player to have access to all the tools they need to get from New Game to Credits as soon as possible; I want the player's progress to only be impeded by the player not knowing how to use the tools the game provides.
Just a little close up shot...
w2xZocX.jpg
finally drew the last member of "team outcast" for my game. since my game has a lot fighting game elements in it, there's bosses in teams of three like King of Fighters.

Forum statistics

Threads
113,864
Messages
1,078,008
Members
147,952
Latest member
HellblazerHawk
Top