Theo - Auto Variable Value

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

Original thread: https://forums.rpgmakerweb.com/threads/theo-auto-variable-value.133274/