playMaker

Author Topic: Quick Question on Xbox Controller Trigger Buttons  (Read 5658 times)

SammyJoeUK

  • Playmaker Newbie
  • *
  • Posts: 32
Quick Question on Xbox Controller Trigger Buttons
« on: June 09, 2015, 01:50:47 PM »
How?! Just how?!

I understand that the trigger buttons on xbox controllers aren't like traditional  buttons and they work on an axis instead but I'd like the Right Trigger (RT) to be used to make a character run - how do I do this? Are the triggers on one of the key up events (Joystick Button 1 - 19) or are they done differently?

Thanks

sj


terri

  • Sr. Member
  • ****
  • Posts: 386
    • terrivellmann.tumblr.com
Re: Quick Question on Xbox Controller Trigger Buttons
« Reply #1 on: June 09, 2015, 04:03:18 PM »
Yeah it's axis, you can check the magnitude and if it's over a certain number you make the character run.

Lane

  • Administrator
  • Hero Member
  • *****
  • Posts: 2511
  • Mender of the past
    • Cleverous
Re: Quick Question on Xbox Controller Trigger Buttons
« Reply #2 on: June 09, 2015, 04:24:57 PM »


It's a pressure sensitive button and therefore an axis (can be something other than 0 or 1).
Products by Cleverous
|| Vault Core : Database
|| Vault Inventory : Multiplayer Inventory
|| Vault Attributes : Character Stats
|| That Hurt! : Dmg Floaties
|| Quinn : 3D

SammyJoeUK

  • Playmaker Newbie
  • *
  • Posts: 32
Re: Quick Question on Xbox Controller Trigger Buttons
« Reply #3 on: June 09, 2015, 04:49:26 PM »
What're the actions I should use in order to get this working?

Lane

  • Administrator
  • Hero Member
  • *****
  • Posts: 2511
  • Mender of the past
    • Cleverous
Re: Quick Question on Xbox Controller Trigger Buttons
« Reply #4 on: June 09, 2015, 05:07:52 PM »
Which input controller asset are you using?
Products by Cleverous
|| Vault Core : Database
|| Vault Inventory : Multiplayer Inventory
|| Vault Attributes : Character Stats
|| That Hurt! : Dmg Floaties
|| Quinn : 3D

Chris Vitorino

  • Playmaker Newbie
  • *
  • Posts: 14
Re: Quick Question on Xbox Controller Trigger Buttons
« Reply #5 on: August 21, 2015, 12:16:35 AM »
I had the exact same problem. I've found a solution for it, posted it here: http://hutonggames.com/playmakerforum/index.php?topic=10997.0