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.
Announcement
Collapse
No announcement yet.
battle event help
Collapse
X
-
Re: battle event help
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.Originally posted by cameronpThanks 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.
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


Comment