Jump to content
The Bunny Gamer

Check if party has [x] members

Recommended Posts

GUIDE: IF PARTY HAS [X] MEMBERS

 

How to:

 

To check if the party the player is in has X members, say you want to make it so you can only enter a boss battle with at least 3 party members, it is really simple.

 

1) You will firstly need to create an NPC and lock it in an NPC Avoid box to prevent it from moving. It should have 1 HP and no attack.

2) The NPC should have an "On PARTY kill" box. Put that event as a new event. In the new event, you should add one to a global variable called "Party count" (or whatever).

3) Ask the player to kill the NPC in order to play the Boss Battle, or whatever.

4) It will then set the global variable to however many are in your party!

5) Make sure to reset this to zero every time a player checks for their party number else this will only work once!

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×