Condition_ComparePreviousJobRank
Description
Compares the previous JobRank from graduation history. Returns false if the JobId matches a currently active career. Returns false if the JobId is not found in graduation records. If the JobId exists in graduation records, compares the rank with F1 and returns the result.
Parameters
| Parameter | Description |
|---|---|
| BaseObject | Character whose graduation history is checked |
| CompareType | Equal, NotEqual, Greater, Less, GreaterOrEqual, LessOrEqual, InRange, OutRange |
| S1 | CareerDtId (CompanyId) of the previous job to look up |
| S2 | JobId of the previous job to look up |
| F1 | JobRank value to compare against |
| F2 | Maximum JobRank for range comparisons (InRange, OutRange only) |
Examples
| Description | BaseObject | Command | CompareType |
|---|---|---|---|
| Check if recorded rank at Dowon Elementary School is 5 or higher | Self | ComparePreviousJobRank | GreaterOrEqual |
| Check if recorded rank at Dowon Middle School is less than 3 | Self | ComparePreviousJobRank | Less |
| Check if recorded rank at Blissbay High School is exactly 1 | Self | ComparePreviousJobRank | Equal |
| Check if recorded rank at Blissbay High School is between 2 and 4 | Self | ComparePreviousJobRank | InRange |