Party Level/Class Checking

● ARCHIVED · READ-ONLY
Started by Thund3rCleese 1 posts View original ↗
  1. Hello everyone,

    For my current project, I am using tiered class system (after so many levels, a character can be trained as a new class, this replaces the old class).

    My problem is that I have no easy way of going through each of the actors in the party to determine their level and whether or not they have been set to the most advanced class.

    I do not have any scripts controlling this (the scripts that exist don't handle classes the way that I am looking for), but I am running the following scripts in my project. (All Yanfly scripts)

    Spoiler
    YF Game EngineParty System

    Extra Parameters

    Event Window

    Victory Aftermath

    Move Restrict Region

    Save Engine

    New Game+

    Debug Extension
    My hope is to use script calls in Conditional Branches to check for the aforementioned requirements of level and class progress after each battle, using YF Victory Aftermath.

    EDIT: Figured I would try to clarify how I am trying to have this work.

    Spoiler
    Class and Level Check Common Event outline

    Conditional Branch: Script: "get Party actor 1's level" >= 10

    If

    Conditional Branch: "is Party actor a class in the value range x-y?"

    If

    Show Text "You qualify for a class advancement"

    Else

    Exit Event Processing

    Else

    Exit Event Processing