Hey there, I have little big problem...
I have a part of game, based on annoying player whith lots of
extremily easy enemies made just for annoy player and exp up,
but, I need to disable option to escape from that random encounter...
Is there any way to do so? -Thx a lot
Thanks, I guess that it isn't possible whithout aditional scripts like that, right? =.='
Or you can copy that map, so you have it twice: with and without encounters.
Whenever the player is about to enter that map, check if he is supposed to find encounters. If yes, teleport him to the map with the encounters - if not, teleport him to the second map.
Only drawback: To change the encounters while you are already on that map, is more difficult and the script above might be the easier way.
The maps are identical aside from their encounter rates, same x and y values. So upon triggering the switch, the players coordinates are saved into two variables, one for x, one for the y value of the players position. Then teleport him using these coordinates. The teleport command has a second option that allows you to determine the teleport destination with variables. Also, when teleporting choose no transition.
Haven't tried it though.
Edit: I should've read the question properly, sorry. :blink:
no, by default the random encounters are too closed, you can only activate or deactivate them.
You might be able to simulate that by using evented encounters, but even that would require very complicated troop event logics
Everything else needs scripts.
Edit:
@Banquo: you need to reread what he wanted: disabling escape from encounters, not disabling encounters
Ok, thanks everyone for help, I guess I'll just need to finde out how to add and work whith those scripts : D
Note that escape chances are based on the party's total AGI stats versus the enemies', so if those enemies have ridiculously high AGI, the player will have a lot of trouble escaping. It won't be impossible since the code is set up so the chances of success increase with each attempt, with the tenth attempt being 100%.
and giving high AGI to enemies will also result in the enemies acting faster - the turn order is determined by AGI as well...
Offhand I think Yanfly's script only skips the Party Command (with 'Escape') phase rather than disabling it completely, so the player can still hit Esc/X to access it (someone please say so if I'm mistaken). However, I've been able to modify it in the past to prevent access to the Party Command menu entirely.
Oops, you're right. I would be grateful if you would help me to do that 🙂
Lol, that AGI idea is actually really good, thanks 😀