じ☆ve冰风 发表于 2026-7-27 10:22:06

mo-to - Conditional Branch in Partymember

Conditional_branch_in_Partymember - 2015-11-07

Creator name: mo-to

Overview
Condition branch to check something in your party

How-to use
4th page of conditional branch: Fill in the script with this format-
                Code:       
$gameParty.~(id)or(name)



Ex.) Name of one of the current party members, Harold?
                Code:       
$gameParty.membersName('Harold')



Ex.) Is there a Hero (default) class in your party?
                Code:       
$gameParty.membersClass(4)



Ex.) Does any member have the skill "Heal" (default)?
                Code:       
$gameParty.membersLeSkill(8)



Ex.) Any member equipped a "Sword" for weapon (default)?
                Code:       
$gameParty.membersEqWeapon(1)



Ex.) Any member equipped a "Cloth" for armor (default)?
                Code:       
$gameParty.membersEqArmor(3)



Ex.) Is any member "Knockout"?
                Code:       
$gameParty.membersState(1)



Credit and Thanks: mo-to

Terms of Use-
Free for commercial and non-commercial use. Feel free to modify/ share.
There is no need to get permission from us. However don't sell the plugin by itself.

You can download js file from the thread attachment or Dropbox link: https://www.dropbox.com/s/sj05eh660lubq5y/Conditional_branch_in_Partymember.js?dl=1


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