Jump to content
  • 0

Double tap command


Tyler

Question

How do i make a command with double tab and a button afterwards?

Say pressing down 2 times then a, then another one pressing down 3 times and a.

I tried D, D, a but nothing happened.

Link to comment
Share on other sites

14 answers to this question

Recommended Posts

  • 0

you gotta use the tilde key.

[Command]
name = "Double Tape"

command = ~D,D,a

time = 15

 

; tilde (~) - to detect key releases

without detecting the release of the first key, the 2nd and 3rd may not work.

 

Link to comment
Share on other sites

  • 0

OH is the -1 statedef does it say

trigger1 = statetype = C

or something like that? cause if your standing its impossible to do a DOWN command since down sets you to crouching.

Link to comment
Share on other sites

  • 0

OK this code

[Command]
name = "DD"     ;Required (do not remove)
command = D, D
time = 10

This is the original transformation code.

; Super Saiyan
[State -1, Super Saiyan]
type = ChangeState
triggerall = power = [600,1199]
triggerall = var(2) = 0
Triggerall = var(3) = 0
value = 600
triggerall = command = "holddown"
triggerall = command = "c"
trigger1 = ctrl

You need to remove some lines to make it work.

; Super Saiyan
[State -1, Super Saiyan]
type = ChangeState
triggerall = var(2) = 0
Triggerall = var(3) = 0
value = 600
triggerall = command = "DD"
trigger1 = ctrl

and boom, it works.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...