Charas-Project

Off-Topic => Really Old Stuff => Archive => General programming => Topic started by: samwilson313 on July 15, 2009, 07:52:19 PM

Title: basic swicth question
Post by: samwilson313 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
Title: Re: basic swicth question
Post by: _JeT_ 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.
         
 
Title: Re: basic swicth question
Post by: samwilson313 on July 16, 2009, 03:20:49 PM
don`t seem to work
Title: Re: basic swicth question
Post by: samwilson313 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