FAQ  •  Register  •  Login

Repeater that toggles other repeater?

Moderator: MiRai

<<

n4th4nr1ch

Posts: 4

Joined: Thu May 29, 2014 1:00 pm

Post Thu May 29, 2014 1:06 pm

Repeater that toggles other repeater?

Trying to set up two repeaters.


Repeater 1, Button 1:
ON:
Repeats keys and mouse to other 3 windows and allows to current
Changes icon for button 2 to inactive
Changes icon for button 1 to active
Says ON to current
Disables Repeater 2 (toggles OFF)

OFF:
Disables repeating
Changes icon for button 1 to inactive
Says OFF to current

Repeater 2, Button 2:
ON:
Repeats keys and mouse to other 3 windows and blocks to current
Changes icon for button 2 to active
Changes icon for button 1 to inactive
Says ON to current
Disables Repeater 1 (toggles OFF)

OFF:
Disables repeating
Changes icon for button 1 to inactive
Says OFF to current


So in other words two buttons which only ever allow for neither or one to be active. The part I'm having trouble with here is how to force a repeater to be in the 'off' position, or action 2 in this case.
<<

firescue17

User avatar

League of Extraordinary Multiboxers

Posts: 584

Joined: Wed Sep 19, 2012 7:37 am

Location: Omaha, NE

Post Thu May 29, 2014 1:28 pm

Re: Repeater that toggles other repeater?

New Repeater State Action
Check the checkbox for Key repeat and change the dropdown to Off.
Check the checkbox for Mouse repeat and change the dropdown to Off.
Set the Target.
<<

n4th4nr1ch

Posts: 4

Joined: Thu May 29, 2014 1:00 pm

Post Thu May 29, 2014 4:40 pm

Re: Repeater that toggles other repeater?

Hi, I did try that already.

I have two buttons:

A - B

When I click A I want A repeater on and B repeater off. When I click A again I want both off. When I click A I want A on, then if I click B I want B on and A off. Then if I click B again both are off. Or I could have clicked A again and A would be on and B would be off.

I added the action you mentioned to the first action of each repeater, at the top. However I still see this:

I click A. A is on, B is off. I click B. B is now on and so is A. I can see this because if I click A again, it now displays the OFF message.
<<

Ualaa

Grandmaster Guidesmith

Posts: 714

Joined: Wed Nov 18, 2009 8:36 pm

Post Mon Jun 02, 2014 3:51 pm

Re: Repeater that toggles other repeater?

You'd need to go through the logic entirely for each button.

You can have one step, which occurs each time the key is pressed.
You can have multiple steps, which are executed in sequence, example 1 > 2 > 3 > 1 > 2 > 3, etc.
You can set the mapped key to reset to the first step, so many seconds after the first press of the mapped key or so many seconds after the most recent press of the hot key.
You can also prevent the mapped key from advancing to the next step for a certain amount of time (to prevent an accidental step increase by spamming the key twice when you wanted to have it advance only once).

You can generally toggle an option, so it goes from State On to State Off, or the reverse if it's already in State Off.
Or you specifically set which state is will go to, on a given step.



Thess are the logical steps you want.

Press A.
1. Enable Repeater A & Disable Repeater B.
2. Disable Repeater A & Disable Repeater B.
(Two Steps is fine, as the mapped key will loop back to Step 1, after Step 2 executes.)

Press B.
1. Disable Repeater A & Enable Repeater B.
2. Disable Repeater A & Disable Repeater B.

The first press of A (or B) will enable that Repeater, and disable the other.
The second press (of the same key) will disable both repeaters.



If you want to be able to alternate between 'Hot Key A' & 'Hot Key B':
a) Press A >>>> To enable A and disable B.
b) Press B >>>> To disable A and enable B.
c) Press A >>>> To enable A and disable B.

You'd need to also include a mapped key step action.
Where your first mapped key (the hot key A trigger) would also set the second (B) mapped key to Step 1.
And do the same on the second mapped key (hot key trigger B), which sets the (A) mapped key to its' Step 1.
Streaming in 720p HD: www.twitch.tv/ualaa

Return to Repeater

Who is online

Users browsing this forum: No registered users and 11 guests