じ☆ve冰风 发表于 前天 13:49

FFP_VariableAndSwitchHandler

Hello,

This plugin provides you the features of defining the value of a switch or a variable via

script codes directly with the switch name and also to keep it up to date at any time.

========================================================================
How to use it?
========================================================================

Name your switch/variable like this:
name s: code

name = The name used for the switch/variable (not needed).
s: = Needed to let the script know, here is the script code to use.
code = The actual javaScript Code used to set the switch as true/false or give the variable a value.

Like when I want a switch to be set to true everytime the actor 1s HP is >=  500 you can do it like that:

HP >= 500 s: $gameActors._data.param(0) >= 500

========================================================================
Download
========================================================================

Get it from my blog.

That's it, have fun
data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7
~FlipelyFlip


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