News: Welcome back to Bullworth! If you haven't already, you will need to reset your password..


Author Topic: Diferent each isbutton?  (Read 1699 times)

0 Members and 1 Guest are viewing this topic.

Offline embas10

  • Jr. Member
  • **
  • Posts: 27
  • Gender: Male
    • View Profile
Diferent each isbutton?
« on: May 03, 2014, 08:50:43 AM »
anyone now what is diferent of this three is button?

1.IsButtonBeingReleased
2.IsButtonBeingPressed
3.IsButtonPressed

Offline WhenLifeGivesYouLemons

  • xfire: 1emonthatsme
  • Sr. Member
  • ***
  • Posts: 971
  • Gender: Male
  • 波動バースト
    • View Profile
Re: Diferent each isbutton?
« Reply #1 on: May 03, 2014, 10:29:39 AM »
anyone now what is diferent of this three is button?

1.IsButtonBeingReleased
2.IsButtonBeingPressed
3.IsButtonPressed
self explanatory
1. for pressing the button once
2. for the button to be held down to do a action once
3. for when you are letting go

Offline c00ld0c26

  • The D0c
  • Can't Get Enough
  • *****
  • Posts: 5,137
  • Gender: Male
  • Just a dood doing dood things.
    • View Profile
    • My channel.
Re: Diferent each isbutton?
« Reply #2 on: May 04, 2014, 05:37:36 AM »
Wrong.
1. This is for pressing the button once but the code will NOT run until you stop pressing the button (until you stop holding the button)
2. This is when you press the button once and the code will run once.
3. This is when you hold the button the code will repeat itself until you stop holding the button.

Offline embas10

  • Jr. Member
  • **
  • Posts: 27
  • Gender: Male
    • View Profile
Re: Diferent each isbutton?
« Reply #3 on: May 06, 2014, 08:52:36 AM »
Thanks for the explantion!but is there have last than 3 isbutton?

Offline WhenLifeGivesYouLemons

  • xfire: 1emonthatsme
  • Sr. Member
  • ***
  • Posts: 971
  • Gender: Male
  • 波動バースト
    • View Profile
Re: Diferent each isbutton?
« Reply #4 on: May 06, 2014, 09:25:40 AM »
@c00ld0c26 no I'm always wrong <_< don't judge me ;p

IsButtonPressedWithDelayCheck() I think and that's it.

Offline embas10

  • Jr. Member
  • **
  • Posts: 27
  • Gender: Male
    • View Profile
Re: Diferent each isbutton?
« Reply #5 on: May 09, 2014, 05:29:35 AM »
thanks