tale

Volunteer
Veteran
Joined
Dec 16, 2016
Messages
819
Reaction score
1,434
First Language
English
Primarily Uses
N/A
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
 

Attachments

  • Conditional_branch_in_Partymember.js
    2.4 KB · Views: 18
Last edited:

WaywardMartian

Is sometimes a giant bee
Veteran
Joined
Jan 1, 2017
Messages
254
Reaction score
717
First Language
English
Primarily Uses
RMMZ
Is there a way to rig this so it only checks the members in the battle party and not every character?
 

Latest Threads

Latest Posts

Latest Profile Posts

E7DsT3VXsAInVpu

working on my avatar, because i couldn't stand looking at it anymore :D
still not finished though...
alpacaraptors = love!
''Finds icons that fits the game you're making'' Only covers 20% of what you need :p
I'm very manic-y right now. I didn't sleep and I wanted to get a bunch of stuff done, but didn't get anything done except the bare bones concept for a POSSIBLE game.
And I can't sleep now because I'm probably gonna be hanging out with my brother and I gotta discuss a bunch of BroCoG (our game group) junk with him plus it's far to late to sleep NOW.
poppetQuestBarryApproaches.jpg
While I wait for judging, I decided to start adding more "friends" to my attic. :LZSgrin:

I swear I need a whole sound pack of menacing squeaky toy noises. :kaoswt:
I can't believe I actually managed to stay motivated for the whole Game Jam duration (1 month!), definitely will be taking a break after this :0

Forum statistics

Threads
113,581
Messages
1,075,985
Members
147,565
Latest member
RePeat
Top