View Single Post
  #4   Spotlight this post!  
Unread 21-01-2013, 20:03
Arhowk's Avatar
Arhowk Arhowk is offline
FiM CSA
AKA: Jake Niman
FRC #1684 (The Chimeras) (5460 Mentor)
 
Join Date: Jan 2013
Rookie Year: 2013
Location: Lapeer
Posts: 542
Arhowk is a splendid one to beholdArhowk is a splendid one to beholdArhowk is a splendid one to beholdArhowk is a splendid one to beholdArhowk is a splendid one to beholdArhowk is a splendid one to behold
Re: Command-based while button presed

Quote:
Originally Posted by Mastonevich View Post
We found somewhere in the documentation where u need to put it in the interrupted function and it worked for us.
Yeah.... was about to say that putting the cancel functions in interrupted and not end worked.

On a slightly related topic, can I wipe the commands currently linked to a button?

i can do

button.whilePressed();

but can i do

button.releaseCommands();

so that it no longer runs the commands issued by .whilePressed()
Reply With Quote