Skip to main content

Condition_IsCompanyEmployeeByImpactPoint

Description

Checks whether the character is an employee of the company at the site located at the impact point (target location). Unlike IsCompanyEmployee, this condition uses the script context's target location instead of the character's current location to look up the site.

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 the target impact pointSelfIsCompanyEmployeeByImpactPointEqual
Checks if Target is NOT an employee at the impact point companyTargetIsCompanyEmployeeByImpactPointNotEqual
Checks if Self is an employee of the company at a clicked locationSelfIsCompanyEmployeeByImpactPointEqual