Wait by Variables?

Isabella Ava

Veteran
Veteran
Joined
Sep 13, 2016
Messages
635
Reaction score
756
First Language
English
Hello, i want to ask what is the script to make the game wait by a variable value?
I tried this but received undefined error:
$gameInterpreter.wait($gameVariables.value(1));
Thank guys :)
 

Shaz

Veteran
Veteran
Joined
Mar 2, 2012
Messages
40,098
Reaction score
13,704
First Language
English
Primarily Uses
RMMV
There is no $gameInterpreter. There is an interpreter for every event on the map.

This should give you what you're looking for:
Code:
this.wait($gameVariables.value(1));
When you try something and it gives you an error, post the error here (preferably what's in the Console log when you hit F8). Could be that you're really close and just need to tweak something, so the error message will sometimes point to exactly what the problem is, when it might not be obvious just looking at the command.
 

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Latest Threads

Latest Posts

Latest Profile Posts

Couple hours of work. Might use in my game as a secret find or something. Not sure. Fancy though no? :D
Holy stink, where have I been? Well, I started my temporary job this week. So less time to spend on game design... :(
Cartoonier cloud cover that better fits the art style, as well as (slightly) improved blending/fading... fading clouds when there are larger patterns is still somewhat abrupt for some reason.
Do you Find Tilesetting or Looking for Tilesets/Plugins more fun? Personally I like making my tileset for my Game (Cretaceous Park TM) xD
How many parameters is 'too many'??

Forum statistics

Threads
105,867
Messages
1,017,061
Members
137,575
Latest member
akekaphol101
Top