hello everyone, how should i tell the engine shot left or shot right when the actor stoped.

lwj27989lwj27989 Member Posts: 10
edited September 2012 in Community Tutorials
hello everyone, how should i tell the engine shot left or shot right by using one fire button.it is really hard for me plz help me out .... and my brain got blow up by this question ......

Comments

  • lwj27989lwj27989 Member Posts: 10
    edited September 2012
    hello everyone, how should i tell the engine shot left or shot right by using one firing button.it is really hard for me plz help me out .... and my brain got blow up by this question ......
  • carlblanchetcarlblanchet Member Posts: 755
    edited September 2012
    Make an integer attribute, lets call it LeftOrRight.

    In that button:
    When Pressed-
    If attribute LeftOrRight = 0, do what you gotta do so it shoots Left.
    &
    If attribute LeftOrRight = 1, do what you gotta do so it shoots Right.

    Then make whaterer is causing it to want to shoot left or right to change attribute between 0 and 1.

    Is this what you where looking for?
  • carlblanchetcarlblanchet Member Posts: 755
    I just wrote on your other exact same question ;)
  • jonmulcahyjonmulcahy Member, Sous Chef Posts: 10,408
    Merged
Sign In or Register to comment.