Jump to content
  • 0

problem with button commands


rufus_r_jones

Question

hello, i cant get my player to "shoot" using a the button command

"knife"

command = ~F, F, a

 

however the move works when i use  command = ~F, B. i dont want that to happen, i want the forward forward a attack, ive been changing it up to other commands adding in a punch or a kick button with no luck. any idea folks?

 

this is the state lifted right from the cmds, maybe im doing the trigger wrong?

 

 

[state -1,]

type = ChangeState

value = 1000

triggerall = command = "knife"

trigger1 = statetype != A

trigger1 = ctrl

Link to comment
Share on other sites

3 answers to this question

Recommended Posts

  • 0

i tried that, i deleted the existing f,f,a attack and replaced it with the one above. what var should i use? its a standing attack, not a combo or anything just a projectile, i honestly thought that triggers would work, it is my first characther, any help or a chance to learn would be awesome.

Link to comment
Share on other sites

  • 0

i feel this is a error I have to see in action to really help with.

 

BUT my idea is for a move like this that requires F, F, idealy people go into run state when you press F, F.

 

so try this trigger

 

triggerall = stateno = 100

 

and remove trigger1 = ctrl

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...