じ☆ve冰风 发表于 2026-7-13 16:47:45

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




This is how you set up your variable




This is how does it look in action.

https://forums.rpgmakerweb.com/attachments/autovarvalue-gif.179078/


Download:
Save as a new js file

Terms of use:
Read here


本贴来自国际rpgmaker官方论坛作者:TheoAllen处,因国际论坛即将永久关站,为了存档多年珍贵资料,署名转载到本论坛存档,由于官方帖子为英文原帖,需要中文翻译请点击论坛顶部切换语言为中文就可以将帖子翻译成中文浏览,方便大家随时查看,原文地址:https://forums.rpgmakerweb.com/threads/theo-auto-variable-value.133274/
页: [1]
查看完整版本: Theo - Auto Variable Value