Condition_IsSiteInvitee
Description
Checks whether the BaseObject character is on the invitee list of the residence site owned by the NonBaseObject character's household. The site is always the NonBaseObject household's own residence site, not the site where either character currently stands. Invitees granted by the player (GrantSiteInvitee) and by knock door visit access both count unless S1 narrows the source. Returns false when the NonBaseObject has no owned residence site. An invitee can carry both sources at once (a knock visitor promoted by the player), so UserInput and KnockDoor are tested independently.
Parameters
| Parameter | Description |
|---|---|
| BaseObject | The character to test as an invitee (Self or Target). The other one is the host. |
| CompareType | Equal (is an invitee), NotEqual (is not an invitee). |
| S1 | None = any source. UserInput = only invitees the player designated. KnockDoor = only invitees registered by knock door visit access. |
| S2 | Not used. |
| F1, F2 | Not used. |
Examples
| Description | BaseObject | Command | CompareType |
|---|---|---|---|
| Target is an invitee of Self's household residence site | Target | IsSiteInvitee | Equal |
| Target is not an invitee of Self's household residence site | Target | IsSiteInvitee | NotEqual |
| Self is an invitee of Target's household residence site | Self | IsSiteInvitee | Equal |
| Target is not a player-designated invitee (S1=UserInput) | Target | IsSiteInvitee | NotEqual |