Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

RPG Maker Action Combat - RPG Maker MZ Plugin

Create high quality ABS, action games right inside RPG Maker · By Sang Hendrix

[SOLVED] Error for Spawn Slime (Action Combat Tutorial video).

A topic by SIMGADOGames created 9 days ago Views: 58 Replies: 3
Viewing posts 1 to 3
(4 edits)

In DB I created the Slime enemy.

I've created the Slime in Template Map event editor:

First page:
- I've added <passive: Enemy Collision, Enemy Death Check>.

Second page Parallel:

- <death>
- Other commands as shown in the tutorial (Remove Event Hp Bar, Break Character, Destroy Event)

On my map I created the Spawn Slime event Trigger: Parallel:
- Spawn Event: Slime
- Control Self Switch

I'm getting an error on the map:

ReferenceError: This is not defined

    at eval (eval at Game_Interpreter.command111 (Hendrix_Action_Engine.js:15317), <anonymous>:1:14)

    at Game_Interpreter.command111 (Hendrix_Action_Engine.js:15317)

    at Game_Interpreter.executeCommand (rmmz_objects.js:9666)

    at Game_Interpreter.update (rmmz_objects.js:9571)

    at Hendrix_Action_Engine.js:5683

    at Array.forEach (<anonymous>)

    at Hendrix_TemplateEvent.Game_Event.updateIndependentCommonEventInterpreters (Hendrix_Action_Engine.js:5676)

    at Hendrix_TemplateEvent.Game_Event.update (Hendrix_Action_Engine.js:5670)

    at Game_Map.updateEvents (rmmz_objects.js:6749)

    at Game_Map.update (rmmz_objects.js:6708)

SceneManager.catchNormalError @ rmmz_managers.js:2080


This error happens when I add the Spawn Event. If I remove it the error is gone.

I have the latest version of Hendrix_Action_Engine: Version 1.6.3b (its called (v1.6.3c) on itch IO download page)

Developer

Hello, it's likely you wrote "This" instead of "this". Can you send me a screenshot of how you setup Spawn Event command?

(1 edit)

Here is the screenshot:





(+1)

I found the error. Ok so its case sensitive. In the Enemy Collision I wrote checkCollide(This, <playerWpnAttack>). I get it now.

Thanks a lot for your help!!!!