Announcement

Collapse
No announcement yet.

Auto event trouble

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

    Auto event trouble

    I'm having trouble getting auto events to work in my game. I have the event set up to auto but it doesn't run the script. My custom enter map / exit map scripts seems to be causing the problem.

    I have the custom enter map script set up using variables to control the party's direction, camera direction, time of day, and weather. The exit script controls the fade out and the warp sound that plays.

    I am also using an action script to fade the screen in when you enter the map.

    When I take my enter script and exit script out the auto events work fine.
    How do I solve this? I'm very happy with the enter/exit scripts and I don't want to have to delete them and start all over again. If I have to I will. But I really don't want to.

    #2
    Re: Auto event trouble

    Try using call script in Enter Map. You can sort by map name or use
    a flag/variable condition to run the auto event when the map is entered.
    Are you taking the Enter/Exit Events out of World Organization or
    Game Settings? Are they individual custom events for certain maps?
    If so, using conditions in the main Enter Map script(To Map:Facing)
    might prove more efficient than seperate events for different maps.
    Hope this helps!

    I think the map fades in automatically if Flag:Party Dead is off in the
    preset script. An action script should be unnecessary. Just think of
    the Enter map script as an Action script with Content functions.
    Last edited by DK6025; 07-01-2008, 11:56 PM.
    24 is the highest number there is.

    Comment


      #3
      Re: Auto event trouble

      What do you want your auto events to do?

      I agree with DK6025 that if you have seperate enter and exit map scripts for every map, you should realy consolidate it into one script that sorts the World Number (something like this) variable then just call the scripts from there. I personally avoid auto events instead I just call what commands I want to do in another script. You could technically not put any commands in an event slot and have it still move to certain locations, display text, or do a bunch of other stuff.


      TBS is coming shortly... I finally got off my lazy self and contacted Datel, so new Max Drive software is coming thus allowing me to release my TBS.

      Comment


        #4
        Re: Auto event trouble

        DK6025
        Are you taking the Enter/Exit Events out of World Organization or
        Game Settings? Are they individual custom events for certain maps? Are they individual custom events for certain maps?
        I'm taking the enter/exit events out of World Organization. I haven't messed around with the game settings. Your second question they are not custom events for certain maps. I haven't gotten that far yet.

        madcopper I agree with DK6025 that if you have seperate enter and exit map scripts for every map, you should realy consolidate it into one script that sorts the World Number (something like this) variable then just call the scripts from there.
        I don't have separate enter and exit scripts for every map. These are scripts that I use when I don't want anything special to happen. All I want the auto event to do is to walk up to the player and say something important. I know that I can use control event to have this to happen. But I was just wonder if anyone had any idea as to why my scripts were cause this problem. I have the enter and exit scripts set up to content type and the events themselves as system events. Could that be the problem?

        Comment


          #5
          Re: Auto event trouble

          Originally posted by Whataface2 View Post
          All I want the auto event to do is to walk up to the player and say something important. I know that I can use control event to have this to happen. But I was just wonder if anyone had any idea as to why my scripts were cause this problem. I have the enter and exit scripts set up to content type and the events themselves as system events. Could that be the problem?
          Honestly I don't know the complete explaination as to why this isnt working, I dont think its the enter and exit scripts but what might be happening with them is that since you have so many things being checked at once, the system is simply ignoring the auto event.

          If all you want to do is have the NPC come up and talk to the character, just use a World sort script in the Enter Map script, and call the script you made for the event (make sure to change to the event first) and it should work perfectly. Like I said in my last post, I try and not use auto events because things tend to get buggy if you are running other things. This may not be true for everyone, but it has been in my experiances.
          Last edited by madcopper; 07-02-2008, 10:50 PM.


          TBS is coming shortly... I finally got off my lazy self and contacted Datel, so new Max Drive software is coming thus allowing me to release my TBS.

          Comment


            #6
            Re: Auto event trouble

            I'd have to experiment with it, but maybe setting the same Events in Game Settings and World Org. for Enter Map might cause a glitch. If your custom
            Enter/Exit Events are in the Game Settings slots they run as the default, so
            setting them in World Org. is unnecessary.
            24 is the highest number there is.

            Comment


              #7
              Re: Auto event trouble

              Originally posted by DK6025 View Post
              I'd have to experiment with it, but maybe setting the same Events in Game Settings and World Org. for Enter Map might cause a glitch. If your custom
              Enter/Exit Events are in the Game Settings slots they run as the default, so
              setting them in World Org. is unnecessary.

              Thanks, that was the problem. I figured it had to be something simple that I had missed. I learn something new everytime I work with RPG Maker 2.

              Comment

              Working...
              X