Announcement

Collapse
No announcement yet.

battle event help

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

    battle event help

    My son is building a game where, when you leave a town, a battle insues via invisible standard event, however he only wants to trigger the event when leaving the town, not entering it. I remember in rpg maker 2 that you could trigger an event while a certain item was in your inventory only. Is this the best way with this? Any suggestions most welcome.

    #2
    Re: battle event help

    Make a "Touch" event at the entrance that starts off the battle. Then switch it to the second mode so it doesn't take place again.

    Comment


      #3
      Re: battle event help

      Thanks we tried that. Problem is when you enter the town it triggers the evnt, he only wants it to go off when you leave the town. He wants it to be ignored when you enter the town to get party members, but only activate when your leaving the town.

      Comment


        #4
        Re: battle event help

        So make an event on the world map whats the big deal?

        Comment


          #5
          Re: battle event help

          Originally posted by cameronp
          Thanks we tried that. Problem is when you enter the town it triggers the evnt, he only wants it to go off when you leave the town. He wants it to be ignored when you enter the town to get party members, but only activate when your leaving the town.
          You can use a variable, I recommend an internal variable of the town but you could use a different one. Anyway, put a Val. Condition Branch in the event like so.

          Condition 1 > Int. Var. 01 = 0
          Increase Int. Var. 01 by 1
          (This should happen when you first touch the event, when you're entering the town.)
          Condtion 2 > Int. Var. 01 = 1
          Battle
          Decrease In.t Var. 01 by 1
          (The battle will only happen after you've increased the variable, which happens when you first enter. If you only want the battle to happen once, then increase the varible by one again at the end instead of setting it back to zero.)
          Last edited by DarkwingChuck; 10-02-2005, 12:22 PM.
          I want that Mulan McNugget sauce, Morty!

          Comment

          Working...
          X