Announcement

Collapse
No announcement yet.

Some help with treasure chests, please?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Some help with treasure chests, please?

    How do you make a chest reappear using a leaver when the chest display is turned off? I turned the chest display off using an invisible event, then in the chest event code section I put event display on, then follow by modify mode. I made it so the only way to active this code is to pull a leaver, but when I tried it, nothing happens. It seem like since the chest event display is off, it seem to treat the chest event like it isn't there. How do I get around this?
    Twothorp was in immense pain. The blisters did not care.

    #2
    Re: Some help with treasure chests, please?

    Try refreshing the display after the lever is pulled.
    24 is the highest number there is.

    Comment


      #3
      Re: Some help with treasure chests, please?

      By golly that just might work! Don't know why I didn't think of this. Thanks
      Twothorp was in immense pain. The blisters did not care.

      Comment


        #4
        Re: Some help with treasure chests, please?

        When you turn an event off it also turns off the events ability to run the scripts within it.

        How to get around it? Not sure, In the chest event before you turn it off change Variable ## to 1, then when the lever is pressed do a val-condition branch(in the lever coding) that if Variable ##=1 it makes the chest reappear and the variable ##=0 again
        Last edited by JPS; 07-02-2008, 01:07 AM.

        Here I come Pav, like the Kool-Aid man barging into a funeral! Oh yeah!

        Comment


          #5
          Re: Some help with treasure chests, please?

          I tried to follow your instruction, but they didn't make sense. Could you be a little clearer.
          Twothorp was in immense pain. The blisters did not care.

          Comment


            #6
            Re: Some help with treasure chests, please?

            I cant really remember the exact syntaxes for the scripts...

            Chest coding:
            :all of your coding here
            :Modify Shared Variable 01 = "1"
            :Chest Event Display: Off

            Lever coding
            :all of your coding here
            :Val-Conditional Branch -> Shared Variable 01( = 0, 1)
            --:<Option 1/Start> -> Shared Variable 01 = 0
            ----isplay -> "Nothing Happened"
            --:<Option 1/End>
            --:<Option 2/Start> -> Shared Variable 01 = 1
            ----:Chest Event Display: On
            ----:Modify Shared Variable -> "0"
            --:<Option 2/End>
            Last edited by JPS; 07-03-2008, 07:19 AM.

            Here I come Pav, like the Kool-Aid man barging into a funeral! Oh yeah!

            Comment

            Working...
            X