Button

Post Reply
jubelee
Posts: 5
Joined: Sat May 22, 2010 2:09 pm

Button

Post by jubelee »

I want to create a button that (de-)activates a trigger, how do i do that?
do I have to script it, or can I use the button function?

User avatar
Vadi
Posts: 5042
Joined: Sat Mar 14, 2009 3:13 pm

Re: Button

Post by Vadi »

you'd need to script it, I think getButtonState() returns 1 or 2 if the button is pressed down or not, and enableTrigger("name") disableTrigger("name") will help with the trigger

Post Reply