Group: Member
Posts: 5
Type: Writer
RM Skill: Skilled
1) When I get into a battle I can attack and kill one enemy just fine but when I start attacking the second enemy he keeps taking damage but he never ever dies no matter what. Sometimes the glitch doesn't happen for some reason though. I'm using the Sideview Battle System plus a bunch of other scripts and I have NO idea where the problem is.
2) I also still have a problem with the fact that random encounters start even when you're standing still but that is probably because of the pixelmovement script.
Group: +Gold Member
Posts: 1,520
Type: Scripter
RM Skill: Undisclosed
I beat the first enemy, and then completely died against the others....
Other than your enemies are overpowered, let's see what I have to work with....
There's your problem! Go to line 940, and change it to read like so:
Is that a problem with the Battle system itself? You might want to report that to the developers......
And the random encounters is very weird...... I turn right (for example), stop moving, just waiting, and then it'll decide it's time for a random battle.... let me look into it!
Solution!
Sorry, I'm running quite late,
You need to look for Game_Player in the pixel movement, and scroll down to:
We're moving that last bock, starting with if not (@move_route_forcing or @move_to_place), up, like so:
So the full code in the block reads:
CODE
if [@last_real_x, @last_real_y] != [@real_x, @real_y] if not (@move_route_forcing or @move_to_place) # Event determinant is via touch of same position event result = check_event_trigger_here([1, 2]) # updates encounter count according to move_speed if result == false and (@encounter_count > 0 and not ($DEBUG and Input.press?(Input::CTRL))) @encounter_count -= @max_steps end end end
__________________________
K.I.S.S. Want help with your scripting problems? Upload a demo! Or at the very least; provide links to the scripts in question.
Group: Member
Posts: 5
Type: Writer
RM Skill: Skilled
Oh wow, it works! You're some kind of wizard, I have so many random scripts added in there that I was afraid I'd never find the solution but it seems like it's working, at least for now! Thank you.
Now I can finally start working on making the enemies less overpowered, I've been holding off on playtesting the battlesystem since I had those bugs in it. x.x