设为首页收藏本站同能贴吧 切换语言 繁体中文
开启辅助访问 切换到窄版
搜索附件  

Active Actor: ActiveActor.js

 

Active Actor:
Active Actor - v1.0 11/24/2017

Creator: Adreos

Overview
This simple plugin assigns the ID of the last actor, or enemy, to perform an action in a battle to a control variable.

Features

  • Save last actor ID to a control variable
  • Save last enemy ID to a control variable

How to Use
Simply place the plugin in the plugins folder and set the parameters to the IDs of the control variables you wish to use.

Exmples of Use
The primary use of this plugin is to enable common events triggered by skills to target specific actors/enemies.

  • A skill can be used with any amount of TP but drains all the TP from the actor once used.
  • A fighter uses an attack that then sets a state on the casters/attacker instead of the reciever to enable a cooldown.
  • A fighters use a skill that changes their class mid-battle.
  • Display a message with the name of the last actor to make a move in the last battle.
  • An enemy in a troop targets the last actor to move.

Terms of Use
This plugin is free to use for commercial and non-commercial uses. All I ask for is credit given. The URL included in the plugin is not required in the credits.

FAQ
Q: Where are the Control Variable IDs?
A: Whenever you use select which control variable to use a pop up window appears
that lets you both select the variable and rename it. The 4 digit number to the
left of the names are the Control Variable IDs. Leading zeros are not required (Ex: 0007 can be input as 7)

Q: How do I disable setting variables for actors or enemies?
A: Actors and enemies can be assigned different values. Set one to 0 to disable the global variable.

Q: Can I use the global variable outside of battle?
A: Yes you can. But the next time battle starts the control variables will be automatically set by the plugin again.

Screenshots
Spoiler: Control Variable ID


This is where you can find the Control Variable ID.
Highlighted is Control Variable 0007, or just 7
Spoiler: Using in a skill with common events


In this skill the HP recovered is based on the TP on hand. It then calls on the Common Event TP Burn




The common event TP Burn removes 100 TP from a variable actor, that variable being the one set by this plugin


本贴来自国际rpgmaker官方论坛作者:Adreos处,因国际论坛即将永久关站,为了存档多年珍贵资料,署名转载到本论坛存档,由于官方帖子为英文原帖,需要中文翻译请点击论坛顶部切换语言为中文就可以将帖子翻译成中文浏览,方便大家随时查看,原文地址:https://forums.rpgmakerweb.com/threads/active-actor.87711/
简体中文
繁體中文
English(英语)
日本語(日语)
Deutsch(德语)
Русский язык(俄语)
بالعربية(阿拉伯语)
Türkçe(土耳其语)
Português(葡萄牙语)
ภาษาไทย(泰国语)
한어(朝鲜语/韩语)
Français(法语)
关闭

幸运抽奖

社区每日抽奖来袭,快来试试你是欧皇还是非酋~

立即查看

Loading...

QQ|Archiver|手机版|小黑屋|同能RPG制作大师 ( 沪ICP备12027754号-3 )

GMT+8, 2026-10-3 10:11 , Processed in 0.088309 second(s), 19 queries .

Powered by Discuz! X3.4

Copyright © 2001-2020, Tencent Cloud.

返回顶部