Condition_CompareSkill
Description
Compares the skill level of the BaseObject entity against the Target entity's skill level.
Note
Although BaseObject can be set to either Self or Target, validation currently restricts this condition to Self only.
Parameters
| Parameter | Description |
|---|---|
| BaseObject | The reference entity whose skill level is compared against Target (Self). |
| CompareType | The comparison operation applied between BaseObject and Target skill levels |
| (Equal, NotEqual, Greater, Less, GreaterEqual, LessEqual). | |
| S1 | The skill ID to compare (e.g., Cooking, Charisma). |
Examples
| Description | BaseObject | Command | CompareType |
|---|---|---|---|
| Check if Self's Cooking skill is greater than Target's | Self | CompareSkill | Greater |
| Check if Self's Charisma skill equals Target's | Self | CompareSkill | Equal |
| Check if Self's Logic skill is less than Target's | Self | CompareSkill | Less |