public

Rpg Maker Developers Group

Simple enough for a child, powerful enough for a developer

2 Followers

Battle Processing: Same as Random Encounter Test

BMM_Archive · July 15, 2026

Preserved forum archive. This topic stores the original first post and locally mirrored RPG Maker Web attachments when available. It is posted by the BMMPlay archive account, not by the original creator.

Original Source

  • Original title: Battle Processing: Same as Random Encounter Test
  • Original author: DmNerd
  • Original date: March 7, 2016
  • Source thread: https://forums.rpgmakerweb.com/threads/battle-processing-same-as-random-encounter-test.58224/
  • Source forum path: Game Development Engines > Legacy Engine Support > RPG Maker MV Support

Summary

When I attempt to test the event - Battle Processing: Same as Random Encounter - I get the error message Cannot read property 'forEach' of undefined. I have setup the Random Encounter region '1' to have a slime and a bat as enemies. TypeError: Cannot read property 'forEach' of undefined     at Game_Player.makeEncounterTroopId (rpg_objects.js:7543)     at Game_Interpreter.command301 (rpg_objects.js:10085)

Archived First Post

When I attempt to test the event - Battle Processing: Same as Random Encounter - I get the error message Cannot read property 'forEach' of undefined. I have setup the Random Encounter region '1' to have a slime and a bat as enemies.


TypeError: Cannot read property 'forEach' of undefined
    at Game_Player.makeEncounterTroopId (rpg_objects.js:7543)
    at Game_Interpreter.command301 (rpg_objects.js:10085)
    at Game_Interpreter.executeCommand (rpg_objects.js:8897)
    at Game_Interpreter.update (rpg_objects.js:8805)
    at Game_Map.updateInterpreter (rpg_objects.js:6082)
    at Game_Map.update (rpg_objects.js:5989)
    at Scene_Map.updateMain (rpg_scenes.js:417)
    at Scene_Map.updateMainMultiply (rpg_scenes.js:409)
    at Scene_Map.update (rpg_scenes.js:398)
    at Function.SceneManager.updateScene (rpg_managers.js:1788)rpg_managers.js:1722 SceneManager.catchException


I'm not sure what I'm doing wrong. Also I have no plugins running.

Protected download

Protected download

Protected download

Protected download

Downloads / Referenced Files

Log in to download

Log in, then follow the RPG Maker Developers Group to see these download links.

Log in to download

Referenced Images / Attachments

Capture.PNG
Capture.PNG
Capture2.PNG
Capture2.PNG
Capture3.PNG
Capture3.PNG
Capture4.PNG
Capture4.PNG
Creator Claims / Removal

If you are the original creator and want this listing reassigned, edited, or removed, join BMMPlay and contact the moderators with proof that matches the original RPG Maker Web profile, linked GitHub, itch.io page, or another public creator identity.

#039#rpg-maker-archive#mv-support

Replies (0)

No replies yet.

0 replies 1 view

Log in to reply.

User Avatar