Jump to content

Photo

disable a button while swimming


  • Please log in to reply
2 replies to this topic

#1 Rastael

Rastael

    Wizard

  • Members
  • Real Name:Raphael
  • Location:Austria

Posted 09 June 2017 - 07:52 AM

Heyho :)

 

 

I need to disable the R-button while Link is swimming. Is that possible?

if (#Link is swimming#)
     {
     Link->InputR = false;
     }

I know that I can do that by checking the combo under Link (if it's a water-combo), but that doesn't work well, when Link is between the water- and land-combo.

 

Thx for your help. ^^



#2 Avaro

Avaro

    o_o

  • Members
  • Real Name:Robin
  • Location:Germany

Posted 09 June 2017 - 08:12 AM

if ( Link->Action == LA_SWIMMING )

  • Rastael likes this

#3 Rastael

Rastael

    Wizard

  • Members
  • Real Name:Raphael
  • Location:Austria

Posted 09 June 2017 - 08:34 AM

Vielen Dank :D


  • Avaro likes this


1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users