How to call a scene?

I have only created new scenes back in the day of XP and havent touched RPG maker in over 4 years becasue i been using unity3d. How would one go about calling a scene? I want the most simple possible way ever to do it. no complex scripts just a simple way to call the scene. This is what i got so far and all i want to do is call it and $scene = Scene_Test.new isnt working like it did in the past.

//=============================================================================// Test.js//=============================================================================/*: * @plugindesc For testing * @author Polraudio * * @help This is for testing */function Scene_Test() { $gameParty.gainGold(7000);}now yes i realize i can just use a call script or an event to add gold but thats not what im trying to do. this is just for testing how to do a call script and nothing seems to work when i try to call it.....

so why wont $scene = Scene_Test.new work anymore and how would i do it now?

Thank you very much in advance.
Scenemanager.goto(Scene_Test);

try this.

this will change your scene to your Scene_Test.

However Scene_Test needs to be at least inherit from Scene_Base or I doubt anything will happen
Yea i get a scene manager not defined. So how would i do that. im not use to this non freeform scripting. im use to just coding and having it work. rpg maker coding is so much more complex and harder than unity lol.
I know in the debug console you can say Scenemanager.goto(Scene_Test); and it will change your scene.

You can test this by saying Scenemanager.goto(Scene_Menu); and it should change your scene to the menu scene.

Its either Scenemanager.goto or SceneManager.goto it is case sensitive.

I am not sure, know one is really answering questions on this forum.

This is all the knowledge I have.

https://docs.google.com/spreadsheets/d/1-Oa0cRGpjC8L5JO8vdMwOaYMKO75dtfKDOetnvh7OHs/edit#gid=0
I guess its SceneManager but i get the error

TypeError

undefined is not a function.

xRRknra.png


hmmm not sure how to make a basic script that works lol.

I tried to make some edits to this to make it NOT edit a current script and its no go. http://forums.rpgmakerweb.com/index.php?/topic/47215-tutorial-the-absolute-basics-of-plugin-making/

hopefully someone knows how to make a very very simple basic script that does 1 thing that i can expand upon. it was really easy to make scripts in RMXP but this new crap with stuff inside stuff inside stuff of methods inside methods inside of functions inside of methods is confusing to get started lol. I learned how to code in RMXP in a day on my own but this is just hard.

All im really trying to make it a basic script that i can call via event like rpg maker xp had. a main that ran once, and an update that keeps running.
I would suggest reading through this guide http://forums.rpgmakerweb.com/index.php?/topic/48107-tutorial-understand-how-to-create-scene-in-mv/

..as it would make you understand Scenes in itself. Once you've created a scene you invoke it by using SceneManager.push('Your_Scene') - iirc.

Original thread: https://forums.rpgmakerweb.com/threads/how-to-call-a-scene.47883/