I need help with the Multi Timers plugin

Status
Not open for further replies.

link12

Veteran
Veteran
Joined
May 18, 2014
Messages
63
Reaction score
7
First Language
English
Primarily Uses
RMMV
How do I add a cooldown timer for a common event and where in the event do I add it?
 

Attachments

Andar

Veteran
Veteran
Joined
Mar 5, 2013
Messages
30,920
Reaction score
7,450
First Language
German
Primarily Uses
RMMV
please give a link to the plugin you're writing about, we can't guess which one you're using.
 

link12

Veteran
Veteran
Joined
May 18, 2014
Messages
63
Reaction score
7
First Language
English
Primarily Uses
RMMV
 

Bex

Veteran
Veteran
Joined
Aug 2, 2013
Messages
1,492
Reaction score
408
First Language
German
Primarily Uses
RMMV
The shown common Event in the Pictures only runs when it is called by an Event.
(Or by some unknown kind of Plugin?)
So i would Guess we need to take a look at that Event and what its code does.
Than we can maybe find an access point to insert a Timer.
Can you show a Picture?
 

Andar

Veteran
Veteran
Joined
Mar 5, 2013
Messages
30,920
Reaction score
7,450
First Language
German
Primarily Uses
RMMV
the cooldown would have to start at the beginning of the event with a conditional branch checking a switch. You need to select which switch to use as "in cooldown", it must not be used anywhere else.

The conditional branch checks if the switch is ON. if yes, the command in the branch will be exit event processing.
if not, then you go to the regular code of your jump. proceed through that code as normal, but at the end you add two commands:
control switch "in cooldown" to ON
plugin command for the timer: AddTimer key seconds command
they key is whatever name you want to give the timer (again, don't use that name for any other timer)
seconds is your time for cooldown
command is the command to switch the switch "in cooldown" off as described in the plugin
 

link12

Veteran
Veteran
Joined
May 18, 2014
Messages
63
Reaction score
7
First Language
English
Primarily Uses
RMMV
I managed to figure it out, but I still appreciate the help.
 

mlogan

Global Moderators
Global Mod
Joined
Mar 18, 2012
Messages
15,218
Reaction score
8,467
First Language
English
Primarily Uses
RMMV

I've moved this thread to Plugin Support. Please be sure to post your threads in the correct forum next time. Thank you.


This thread is being closed, due to being solved. If for some reason you would like this thread re-opened, please report this post and leave a message why. Thank you.

 
Status
Not open for further replies.

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

Latest Threads

Latest Posts

Latest Profile Posts

Due to the bullies' resurgence on Facebook and Twitter against my friend (and I since I defend), we've decided to move over to tumblr to try to obscure our presence, where we might finally be at peace working on games. If anyone wants my/our game's tumblrs to follow lmk. :kaojoy:
Is there anyone need help with anything except art and music?
is Gotcha Gotcha Games Inc. = KADOKAWA CORPORATION? I haven't found this topic yet, Want to know for credits on my game. Thanks.
If you get everything you want, when you want it, it kills your creativity. If you never get anything you want, you're forced to be creative with what you have.

Forum statistics

Threads
104,299
Messages
1,005,385
Members
135,825
Latest member
ExeSandbox
Top