Activate Switch with a button
#2
Try:
Code:
if Input.trigger?(Input::L) && $game_switches[2] = false
  $game_switches[2] = true
end

if Input.trigger?(Input::L) && $game_switches[2] = true
  $game_switches[2] = false
end
Reply }


Messages In This Thread
Activate Switch with a button - by Iqus - 06-18-2013, 07:16 PM
RE: Activate Switch with a button - by MechanicalPen - 06-18-2013, 10:34 PM
RE: Activate Switch with a button - by Iqus - 06-19-2013, 12:13 PM
RE: Activate Switch with a button - by Iqus - 06-19-2013, 08:30 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
   How can i activate switches with rgss computerwizoo7 2 7,430 07-04-2009, 03:01 AM
Last Post: computerwizoo7



Users browsing this thread: 1 Guest(s)