じ☆ve冰风 发表于 2026-8-1 18:35:23

Scope Change

Scope Change

-Tsukihime


http://i.imgur.com/hGSrP.jpg


This script extends the scope system by allowing you to dynamically change scopes.

You can change a skill's scope from one target to all targets (toggling), or change the scope from enemies to allies (inverting).

This applies to all items and skills.

Usage

By default, all skills and items cannot change scopes.

To enable scope changing, tag them with



                Code:       
<invert scope>
<toggle scope>

The default key settings are:

L (keyboard Q): toggle key

R (keyboard W): invert key

Scope changing can occur during a battle, or in the item/skill scenes.


http://i.imgur.com/OwhfR.jpg


Download

Script: http://db.tt/UBLOyTqo

Required: Tsuki Action

Notes

For scripters: this script directly accesses and changes the `scope` attribute in RPG::Skill and RPG::Item. This means that the scopes do not "reset" to their original settings across battles, and if you were to close the game and restart it, the scopes will revert to their original settings UNLESS you are using scripts to save the state of the $data_ variables (which you shouldn't be doing anyways).


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