Condition_IsCompanyEmployee
Description
Checks whether the character is an employee of the company at the currently located site.
The condition looks up the site at the character's current location. If the site has a company ID,
it checks whether the character's job company entity ID matches that site's entity ID.
Parameters
| Parameter | Description |
|---|
| BaseObject | The character whose employment status is checked (Self or Target). |
| CompareType | Type of comparison operation (Equal or NotEqual). |
Examples
| Description | BaseObject | Command | CompareType |
|---|
| Checks if Self is an employee of the company at their current site | Self | IsCompanyEmployee | Equal |
| Checks if Target is NOT an employee at their current site | Target | IsCompanyEmployee | NotEqual |
| Checks if Self is an employee at the company site they are standing in | Self | IsCompanyEmployee | Equal |