Player Idling triggers event

pelvichan

Pixelsmith
Veteran
Joined
Jun 29, 2012
Messages
45
Reaction score
23
First Language
Spanish
Primarily Uses
Hello everyone, 


I've been trying without success to figure out how to trigger an event while the player is idle for a certain amount of time.


So I would like to ask you: Does anyone know of a way to do this either with events or with a script? 


As always, Thank you for your time.
 

Rinobi

Veteran
Veteran
Joined
Mar 24, 2014
Messages
579
Reaction score
219
First Language
English
Primarily Uses
RMVXA
It's a bit of brain bench, but the actual event setup is pretty lightweight.
I added some comments within the event to explain what's going on.

Check_If_Idle_00.PNG
 

pelvichan

Pixelsmith
Veteran
Joined
Jun 29, 2012
Messages
45
Reaction score
23
First Language
Spanish
Primarily Uses
Thank you, Rinobi


Not sure if i did it right but I tried replicating this:







 
Not signed in






And then I tried running the common event from an event on map:







 
Not signed in






but I wasn't successful  Any thoughts.
 

Rinobi

Veteran
Veteran
Joined
Mar 24, 2014
Messages
579
Reaction score
219
First Language
English
Primarily Uses
RMVXA
The common event is already a parallel process, it isn't designed to be called that way. Just have an event turn the 'time processing' switch on and it will continue to check if the player is idle until the switch is turned off again.
 

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

Latest Threads

Latest Posts

Latest Profile Posts

so hopefully tomorrow i get to go home from the hospital i've been here for 5 days already and it's driving me mad. I miss my family like crazy but at least I get to use my own toiletries and my own clothes. My mom is coming to visit soon i can't wait to see her cause i miss her the most. :kaojoy:
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

Forum statistics

Threads
105,868
Messages
1,017,074
Members
137,578
Latest member
JamesLightning
Top