Announcement

Collapse
No announcement yet.

page conditions

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

    page conditions

    I've been exploring the complexities of RPGM2 and ignoring the simplest aspects, so I have a real easy question.

    I have designed a real time battle system using Six enemies. These enemies can be six different forms. I did this so I can put six of the same enemy out or mix and match as I see fit. I'm controlling the forms with flags set up in the page conditions. Here is the problem I am having, it's not working right. When I test play, the enemies form is still from page 0. I debug and check the flag and it says on, so I don't understand what is happening. I want to control the enemy placement with an event on the map, as it would be easier doing it as I go, instead of writing a huge script for the enter map script. and I tried switching flags in the enter map script and the form still didn't change.

    I hope i've provided enough information for you. It's so frustrating when you don't have much time to work on your game and when you do get time, you get next to nothing accomplished.
    Last edited by KennyKen; 07-18-2006, 02:00 PM.

    #2
    Re: page conditons

    Offhand, the only possible solution I can see is that Flag and Variable changes don't affect page conditions until the script that changes the Flag/Variable finishes. (At least from experience yesterday.) If you're using NeoNash's Enter Map Vehicle trick, then changing the flag in it will not work, and I don't think Auto events will either until you trigger an event through touch/equal/examine.
    "What if like...there was an exact copy of you somewhere, except they're the opposite gender, like you guys could literally have a freaky friday moment and nothing would change. Imagine the best friendship that could be found there."

    Comment


      #3
      Re: page conditions

      I tried settin it to auto, but that wont work either. and I am using Nash's enter map forced vehicle script.

      Is there a solutin to getting the form to change, what if I put an event on the square the the player starts at and set it to equal with the flag changing script. I'm not at home so I can't try it out right now
      Last edited by KennyKen; 07-18-2006, 02:10 PM.

      Comment


        #4
        Re: page conditions

        I don't think putting the event exactly where the player starts will trigger it. Maybe if you surround the player's starting poing with the event. But that doesn't sound practical. Try changing the Flag on the previous map's Exit Map script.
        "What if like...there was an exact copy of you somewhere, except they're the opposite gender, like you guys could literally have a freaky friday moment and nothing would change. Imagine the best friendship that could be found there."

        Comment


          #5
          Re: page conditions

          all the enemies would be off screen so it could work if I place the event direclty in front of the player.

          the exit map thing would be hard to work. I'd have to write one for each area and theres about 60 already , I might be able to write it all in one script and include in one, but that sounds like a ton of work too. My AI scripts take up so much memory I have to be economical with any scripts I include at this point.


          Thanks for your suggestions Draygone.

          Comment


            #6
            Re: page conditions

            Originally posted by KennyKen
            all the enemies would be off screen so it could work if I place the event direclty in front of the player.

            the exit map thing would be hard to work. I'd have to write one for each area and theres about 60 already , I might be able to write it all in one script and include in one, but that sounds like a ton of work too. My AI scripts take up so much memory I have to be economical with any scripts I include at this point.


            Thanks for your suggestions Draygone.

            There's a Master Exit Map script, like the To Map Facing script.

            I think he meant that one.

            Maybe.

            Moo.

            MOO!




            Comment


              #7
              Re: page conditions

              I figured that's what he meant, but I still would have to account for every map and variation in enemy lay out. I hope someone will have a better solution. I 'd prefer to control it on the fly as I create my dungeons by placing an event on the map.

              I didn't write that as clear as I should of, I meant that I'd have to add script for every map.
              Last edited by KennyKen; 07-19-2006, 12:17 PM.

              Comment

              Working...
              X