playMaker

Author Topic: Melee Combos  (Read 3172 times)

Hendrixlt

  • Playmaker Newbie
  • *
  • Posts: 1
Melee Combos
« on: July 26, 2012, 11:53:19 AM »
Hey guys,

I've searched the forums and didn't see the topic, so I am posting it here.

Are melee combos possible in playmaker (i.e.: press the "attack" button 3 times and the character does 3 separate attack animations)

Thank you in advance.

Lane

  • Administrator
  • Hero Member
  • *****
  • Posts: 2511
  • Mender of the past
    • Cleverous
Re: Melee Combos
« Reply #1 on: July 26, 2012, 12:04:55 PM »
Well you probably have a listener looking for the Attack button to be pressed, when its pressed then it transitions to the Punch1 state or whatever. Just setup a Wait there and listen for the Attack button again and exit to a new Punch2 state if it is pressed.

If the Wait's time elapses then it loops back to the start.

In the Punch2 state you do the same thing, have a Wait and an onAttack exit to Punch3 or what have you. The Wait will roll back to the start and the combo would be broken.
Products by Cleverous
|| Vault Core : Database
|| Vault Inventory : Multiplayer Inventory
|| Vault Attributes : Character Stats
|| That Hurt! : Dmg Floaties
|| Quinn : 3D