Skip to main content

Condition_HasJob

Description

Checks whether the BaseObject character currently has a job. Three modes depending on S1: if S1 is empty, checks whether BaseObject has any career (including a MainHouseholdBiz); if S1 is "Target", checks whether BaseObject and the non-base object share the same JobDtId in any of their career slots; otherwise, checks whether BaseObject has a job matching the specific JobDtId given in S1.

Parameters

ParameterDescription
BaseObjectCharacter whose job ownership is checked
CompareTypeEqual (or None): has job, NotEqual: does not have job
S1Empty: any job, "Target": same job as the other object, otherwise: JobDtId

Examples

DescriptionBaseObjectCommandCompareTypeS1
Check if Self has any jobSelfHasJobEqual
Check if Self has no jobSelfHasJobNotEqual
Check if Self and Target share the same JobDtIdSelfHasJobEqualTarget
Check if Self has the specific job "Job_Chef"SelfHasJobEqualJob_Chef