Announcement

Collapse
No announcement yet.

I don't understand variables D:

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

    I don't understand variables D:

    I'm confused about using variables to make cut scenes not show up again. The help I've recieved didn't make any sense to me at all D:

    #2
    Re: I don't understand variables D:

    To use variables like this, first pick one.

    Lets say - Variable 01.

    It, like all variables, starts the game at a value of zero.

    Make your scene in an auto event (or triggered by something) within a "Value Conditional Branch" that says to do the thing if Variable 1 = 0.

    Then write the scene, and when it is done, STILL in the value conditional. branch, increase the variable to one.

    It no longer = 0 and won't play next time the script runs.

    You may need to remove the auto event (if you use that instead of triggering it by interaction) after the branch, so it does not hold up the game.

    There is a great thread around here somewhere on variables,.

    I mostly use RPGM2, but the reasoning and logic should be similar.

    I just can't get more specific because I have not touched 3 in a long time!

    MOO!




    Comment


      #3
      Re: I don't understand variables D:

      Forgive me if I'm horribly wrong, I don't have the game, never played it and don't know about it.

      A variable can be set to a value of your choosing, correct? Perhaps if you start the variable at 1 (or maybe it's 0 by default?) and then change the value during the cut-scene (Story teller triggered by an event, I've read?) to something else, you can use a conditional to check if that variable has the original value. If it doesn't, which it shouldn't after you change it, then don't do the cut-scene.


      If that's completely off-base and confusing, please ignore.



      Edit: Yay! Seems I was close. And late.
      Last edited by Chad; 07-11-2007, 05:17 PM.

      "Couch co-op is the only true co-op." Richard of the Cooks.

      Comment


        #4
        Re: I don't understand variables D:

        http://www.pavilionboards.com/forum/...ead.php?t=6897
        His soul swooned slowly as he heard the snow falling faintly through the universe and faintly falling, like the descent of their last end, upon all the living and the dead.

        Comment


          #5
          Re: I don't understand variables D:

          To save you some time, just do a modify mode to go to a second mode which would be empty. That way it won't repeat.

          Comment


            #6
            Re: I don't understand variables D:

            And of course, you can just turn the display off for the event too, saving you more space.
            " I am the way, the truth, and the life. No one comes to the Father but by me. " - Jesus

            Comment


              #7
              Re: I don't understand variables D:

              Although that doesn't work well for people without a good explanation (end cutscene, WHAM! gone.)
              Oh, heres a question I've had but never tested - if you display off an invisible event, does it still trigger? I mean, it has no display anyway, but displaying off a visual event stops it even if it's touch... o.O

              Comment


                #8
                Re: I don't understand variables D:

                Once the displays of invisible events are turned off, they can't be triggered unless they are turned on again.
                Last edited by Pagerron; 07-12-2007, 03:27 PM.
                " I am the way, the truth, and the life. No one comes to the Father but by me. " - Jesus

                Comment


                  #9
                  Re: I don't understand variables D:

                  Originally posted by Vonwert View Post
                  To save you some time, just do a modify mode to go to a second mode which would be empty. That way it won't repeat.
                  I've tried that lots of times, but to no avail.

                  Comment


                    #10
                    Re: I don't understand variables D:

                    Sovellis,

                    What does your event code look like exactly?

                    What Rodak is saying is to:
                    Set up an event with a VAL Conditional Branch.
                    Give it two branches
                    make the first branch conditional on shared variable 1 equaling 0
                    make the second branch conditional on shared variable 1 equaling 1
                    Then under the Shared variable 1 = 0 branch have the storyteller play and then modify shared variable 1 to 1. The next time you approach the event, nothing will happen because there is nothing set to happen when shared variable 1 =1

                    VAL CONDITIONAL BRANCH (using shared Variable 1)
                    Shared variable 1 = 0

                    -Play storyteller
                    -Modify Shared variable 1 (to 1)
                    Shared variable 1 = 1
                    -none
                    Last edited by Pagerron; 07-13-2007, 08:52 AM.
                    " I am the way, the truth, and the life. No one comes to the Father but by me. " - Jesus

                    Comment


                      #11
                      Re: I don't understand variables D:

                      I thought using display off would reactivate when you re-enter the map?

                      Comment


                        #12
                        Re: I don't understand variables D:

                        Well, in my game I have an invisible touch event that gives you 500 gold and then turns itself off. When I leave the town, go out to the field, and re-enter the town, the display is still off and it's impossible to trigger that event. (I think when the manual says that "Display Off" temporarily hides the selected object, it means that it remains hidden unless you have some event during the game turn it back on.)
                        " I am the way, the truth, and the life. No one comes to the Father but by me. " - Jesus

                        Comment


                          #13
                          Re: I don't understand variables D:

                          "Raiders Of Lekunder" has event-based battles that are invisible events. Each event happens a grand total of one time during the entire game. They're touch events. You touch it, it activates, does the battle and all that good stuff, then displays itself off. Regardless of anything except an event that displays it back on, it will never happen again.

                          There's a cave in the game with two battle events, and you need to revisit that location numerous times during the game. You can walk through the tunnels where the battles happen as many times as you want, and they'll never happen again.

                          Comment


                            #14
                            Re: I don't understand variables D:

                            This answers your cut-scenes, hopefully:

                            There are some ways of getting around that. Like the display options in the event coding (I had fun with the "move" option), try using some display effects and everything in the event coding.
                            Just because there's not a "cut-scene" list, dosen't mean you can't make them.
                            You can also use story-tellers.
                            Last edited by Horus; 07-15-2007, 05:55 PM.

                            Comment

                            Working...
                            X