Time before next transfer.

AReal_Human

Villager
Member
Joined
Jan 10, 2018
Messages
5
Reaction score
3
First Language
Swedish
Primarily Uses
RMVXA
Good day all nice people!

I am having a bit of a problem. I have a couple of transfer events beside eachother, and they work fine. However I am using a free-moving script, and thats the problem. When walking on a transfer, if I hold any other button than the right direction I will use a transfer that is beside the other one. I wonder if it is possible to put a timer for like 1 second until I can transfer again after using a transfer? That would fix my problem.

Thanks for answers,
AReal_Human
 

Kes

Veteran
Veteran
Joined
Aug 3, 2012
Messages
22,299
Reaction score
11,713
First Language
English
Primarily Uses
RMVXA
I think it would be helpful if you could provide a link to the web page where you got that script so that if anyone needs to check something, they'll know where to go.
 

AReal_Human

Villager
Member
Joined
Jan 10, 2018
Messages
5
Reaction score
3
First Language
Swedish
Primarily Uses
RMVXA
I think it would be helpful if you could provide a link to the web page where you got that script so that if anyone needs to check something, they'll know where to go.
http://www.rpgmakercentral.com/topic/10694-free-movement/
This is the script I am using.
What I am looking for is a way when after you have used a transfer from one map to another, it wont let me transfer to another map for some seconds, I could just place my transfer spots on another square, though I would like to find a way.
 

Shaz

Veteran
Veteran
Joined
Mar 2, 2012
Messages
40,111
Reaction score
13,715
First Language
English
Primarily Uses
RMMV
Can't you just do a Wait 60 Frames after your transfer command?

Or if that doesn't work, turn on a switch before you transfer, and give all your transfer events a second page conditioned by that one switch. Then add a common event set to parallel process, also conditioned by the same switch, that does a Wait 60 Frames then turns the switch off. This way, when you're about to transfer, you're saying "disable all transfers for the next second". Of course, if it takes more than a second to transfer, you might need to make it more than 60 frames.
 
Last edited:

AReal_Human

Villager
Member
Joined
Jan 10, 2018
Messages
5
Reaction score
3
First Language
Swedish
Primarily Uses
RMVXA
Hmm, okay. I will try that! Thanks for the help. Will come back to say if it works or not!
 

AReal_Human

Villager
Member
Joined
Jan 10, 2018
Messages
5
Reaction score
3
First Language
Swedish
Primarily Uses
RMVXA
What I did was just add a second page to the transfers, where the transfers was disabled. Feels much better to walk around now! Thanks for the help!
 

Shaz

Veteran
Veteran
Joined
Mar 2, 2012
Messages
40,111
Reaction score
13,715
First Language
English
Primarily Uses
RMMV
You could also do it the opposite way - make each transfer event a single page, but condition it by a switch (all the same switch). Turn that switch on at the start of the game so all transfers are available. When you transfer, turn the switch off, wait 60 frames, then turn the switch back on. That will also disable all the transfer events for a second and then re-enable them. Same effect, but no need for multiple event pages.

Glad you got it working :)
 

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

Latest Threads

Latest Profile Posts

Don't forget, aspiring writers: Personality isn't what your characters do, it is WHY they do it.
Hello! I would like to know if there are any pluggings or any way to customize how battles look?
I was thinking that when you start the battle for it to appear the eyes of your characters and opponents sorta like Ace Attorney.
Sadly I don't know how that would be possible so I would be needing help! If you can help me in any way I would really apreciate it!
The biggest debate we need to complete on which is better, Waffles or Pancakes?
rux
How is it going? :D
Day 9 of giveaways! 8 prizes today :D

Forum statistics

Threads
106,050
Messages
1,018,548
Members
137,835
Latest member
yetisteven
Top