public

Rpg Maker Developers Group

Simple enough for a child, powerful enough for a developer

2 Followers

MZTheo - Auto Variable Value

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: Theo - Auto Variable Value
  • Original author: TheoAllen
  • Original date: February 11, 2021
  • Source thread: https://forums.rpgmakerweb.com/threads/theo-auto-variable-value.133274/
  • Source forum path: Game Development Engines > RPG Maker Javascript Plugins > JS Plugin Releases (RMMZ)

Summary

About: You want the value of variable value is dynamically changed based on JS code and you hate using the parallel common event for various reasons. How to use: Encapsulate your code in {}

Archived First Post

About:
You want the value of variable value is dynamically changed based on JS code and you hate using the parallel common event for various reasons.

How to use:
Encapsulate your code in {}
Put them as a variable name.
(You can only use one JS statement)

Example:
{ $gamePlayer.x }

Screen sample:
This event will activate if your x position is 5 or more
Screenshot_700.jpg


This is how you set up your variable
Screenshot_699.jpg


This is how does it look in action.
autovarvalue.gif


Download:
Save as a new js file

Terms of use:
Read here

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

License / Terms Note

Terms of use: Read here

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.

#rmmz#plugin-archive

Replies (0)

No replies yet.

0 replies 1 view

Log in to reply.

User Avatar