Skip to main content

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

ParameterDescription
BaseObjectThe character to test as an invitee (Self or Target). The other one is the host.
CompareTypeEqual (is an invitee), NotEqual (is not an invitee).
S1None = any source. UserInput = only invitees the player designated. KnockDoor = only invitees registered by knock door visit access.
S2Not used.
F1, F2Not used.

Examples

DescriptionBaseObjectCommandCompareType
Target is an invitee of Self's household residence siteTargetIsSiteInviteeEqual
Target is not an invitee of Self's household residence siteTargetIsSiteInviteeNotEqual
Self is an invitee of Target's household residence siteSelfIsSiteInviteeEqual
Target is not a player-designated invitee (S1=UserInput)TargetIsSiteInviteeNotEqual