Description
Checks whether the NonBaseObject character holds ownership of the BaseObject game object.
If BaseObject is Self, checks Self(object)-Target(character). If BaseObject is Target, checks Target(object)-Self(character).
S1 determines the ownership check mode: "Character", "Household", or empty (both).
S2 can be set to "CheckHouseholdMember" to also check if any household member owns the object.
Parameters
| Parameter | Description |
|---|
| BaseObject | The game object to check ownership of (Self = object, Target = character) |
| CompareType | Comparison operator: Equal, NotEqual |
| S1 | Ownership check mode: "Character", "Household", or empty (checks both Character and Household) |
| S2 | (Optional) "CheckHouseholdMember" to also check if any household member has individual ownership |
Examples
| Description | BaseObject | Command | CompareType | S1 | S2 |
|---|
| Check if Target character individually owns Self object | Self | HasOwnership | Equal | Character | |
| Check if Target character's household owns Self object | Self | HasOwnership | Equal | Household | |
| Check if Target character or household owns Self object | Self | HasOwnership | Equal | | |
| Check if any household member individually owns Self object | Self | HasOwnership | Equal | Character | CheckHouseholdMember |