Charas-Project

  • Home
  • Help
  • Search
  • Calendar
  • Login
  • Register
*
Please login or register.

Login with username, password and session length
 

News:

New forum theme up and running!



  • Charas-Project »
  • Off-Topic »
  • Archive »
  • Really Old Stuff »
  • General programming »
  • basic swicth question
« previous next »
  • Print
Pages: [1]

Author Topic: basic swicth question  (Read 5388 times)

Offline samwilson313

  • Initiate
  • *
  • Posts: 8
basic swicth question
« on: July 15, 2009, 07:52:19 PM »
i`ve just make a puzzle in my game were u have to turn on 9 ligths to open a door. but in the preconditions there only room for 2 swicths .but i need 9 how can i get around this
Logged

Offline _JeT_

  • Exemplar
  • *
  • Posts: 1,316
  • A larger Mysterious Mystery of Mysteriousness
Re: basic swicth question
« Reply #1 on: July 15, 2009, 08:20:41 PM »
Have the event set like this...
>Conditional Branch: [Light 1] is on...
  >Cond. Branch: [Light 2] is on...
    >Cond. Branch: [Light 3] is on...
      >Cond. Branch: [Light 4] is on...
        >Cond. Branch: [Light 5] is on...
          >Cond. Branch: [Light 6] is on...
            >Cond. Branch: [Light 7] is on...
              >Cond. Branch: [Light 8] is on...
                >Cond. Branch: [Light 9] is on...
                         >Teleport event
               
That should work, I 'spect.
         
 
Logged

Offline samwilson313

  • Initiate
  • *
  • Posts: 8
Re: basic swicth question
« Reply #2 on: July 16, 2009, 03:20:49 PM »
don`t seem to work
Logged

Offline samwilson313

  • Initiate
  • *
  • Posts: 8
Re: basic swicth question
« Reply #3 on: July 16, 2009, 06:27:29 PM »
i think its because i don`t  known how to use cond branch i thik am geting confused with the else handers and end
Logged

  • Print
Pages: [1]
« previous next »
  • Charas-Project »
  • Off-Topic »
  • Archive »
  • Really Old Stuff »
  • General programming »
  • basic swicth question
 

  • SMF 2.0.10 | SMF © 2015, Simple Machines
  • XHTML
  • 2O11
  • RSS
  • WAP2
  • Simple Machines Forum