Skip to main content

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

ParameterDescription
BaseObjectThe character whose employment status is checked (Self or Target).
CompareTypeType of comparison operation (Equal or NotEqual).

Examples

DescriptionBaseObjectCommandCompareType
Checks if Self is an employee of the company at their current siteSelfIsCompanyEmployeeEqual
Checks if Target is NOT an employee at their current siteTargetIsCompanyEmployeeNotEqual
Checks if Self is an employee at the company site they are standing inSelfIsCompanyEmployeeEqual