Idle Party Conditions

idlePartyConditions

This script provides a set of methods for conditional branch checking involving parties. You can use it to determine whether another party is at a specific position on a map.

Downloads

Script: download here
Required: Idle Party Events

Installation

In the script editor, place this script below Party Manager and above Main

Usage

The following methods are available:

party_here?(party_id, x, y)

Returns true if the specified party is at (x,y)

parties_here?(party_ids, x, y)

Same as above, except it takes an array of party IDs. If none is specified, then it checks if any party is at (x,y)

If you don’t specify an (x, y) position, then it is assumed to be the current
event’s position. This is useful if you want the check to be relative to
an event’s position rather than absolute map position.

Example

To check if party 2 is at (3, 5), you would use the script call

party_here?(2, 3, 5)

Assuming an event at (3, 3) wants to know if party 2 is standing on it, have
that event use the script call

party_here?(2)

To check if either party 1 or party 2 is at (5,6),

parties_here?([1,2], 5, 6)

You may also like...

7 Responses

  1. fifaxion says:

    Hi Hime!

    I don’t know if I’m missing something but I’m trying that script and the event works on any party, not only the one I conditioned. In example, I use the script call party_here?(2) and you get a text, but it works with the party 2 and the initial party too, so I guess there’s something wrong on myself or I miss something important that doesn’t come my mind at the moment.

    Excuse my broken brain and thanks for your time.

    • Hime says:

      I am not sure what might be the problem, since I can’t reproduce the issue myself. Create a post on the forums with screenshots and see if someone can find the problem.

Leave a Reply to Hime Cancel reply

Your email address will not be published. Required fields are marked *