Announcement

Collapse
No announcement yet.

Pages

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

    Pages

    Really simple question, but is there any way to just make an event go to the next page, or even better make it go to a specific page without using variables or flags of some such?

    Example would be I have 10 events all the same event (copies) a menu pops up if you choose action and I want to turn one into a chair another into a person and some such. Then leave the room and come back and have them still there. How would I go about doing this without making a bunch of seperate events and variables?

    #2
    Re: Pages

    Well you could just write a general script for it that would have a sort command or something, then duplicate that event to where you need it. It can get kind of complicated but basically you can make an action script that will duplicate an event a certain amount of times, but what you want to do is wrap that in a condition flag.

    So like

    SBC Flag Duplicate Event OFF
    flag Duplicate Event ON
    <duplicate event some number of times>
    SBC End

    This way only the first event makes the duplicates, because otherwise all the events will keep making the duplicates and cause your game to crash.

    Then you can just use the same content script for all those events.

    As for event pages I think there might be a trick to get an event to switch a page without having to have another content script run, but I don't know what it is. Basically for an event to switch pages you must use a variable, or flag or condition script, but it will only check that once another content script runs unrelated to the current event.
    Last edited by thetruecoolness; 02-09-2007, 11:03 PM.
    はじめまして。真(しん)の冷静(れいせい)です。どうぞよろしく。
    http://www.thetruecoolness.com/

    5198-2124-7210 Smash

    Comment


      #3
      Re: Pages

      or, instead of duplicating, event Model change... :P
      I love lamp.

      Comment


        #4
        Re: Pages

        Originally posted by Doyleman View Post
        or, instead of duplicating, event Model change... :P
        Wouldn't work because if you leave the place and come back or somthing like that the model reverts back to the original form.
        Last edited by Red Dragon; 02-10-2007, 01:07 AM.

        Comment


          #5
          Re: Pages

          hm, conditional branches are the only other option, but in that case, pages are much more friendly.
          I love lamp.

          Comment


            #6
            Re: Pages

            I wish each event had internal variables... Like RPGM3 Would make it alot easier for me.

            Comment


              #7
              Re: Pages

              they do, persay, but it can't be retained if the player leaves the map.

              Variable (84.. i think...): Event Number is an internal number used for whatever you want for events. If you leave, though, it resets
              I love lamp.

              Comment


                #8
                Re: Pages

                I'm thinking maybe just having a variable for each event.

                So Event 1 has Variable 100

                So Chair would equal 2 Table 3 etc, it would still be a good amount of variables, but it would work alot better.

                Comment

                Working...
                X