Execute_EvictFromSite
Description
Immediately teleports the Target character out of the residence site owned by Self's household. Only the position changes. The invitee status and the knock door visit access are untouched, so combine it with RevokeSiteInvitee when both are wanted. The Target is moved to the site's walk-to-site point, which for a residence is the front of its outermost door. The Target's current interaction and queue are cleared before the move, and anything held in the hands is put down on the floor of the site instead of going into the Target's inventory. Nothing happens when any of these hold:
- Self's household has no residence site, or the Target is a member of Self's household.
- The Target is not currently inside that residence site.
- The Target is outdoors (for example in the yard) of that residence site.
- The Target is in a life-trigger interaction, performing on a stage, or pseudo-simulated.
- The Target is being carried.
- The Target is carrying a baby that does not belong to Self's household (for example the Target's own child). The Target keeps holding it and is not moved. A baby that belongs to Self's household is always put down where the Target stands, even when the Target is not moved for another reason in this list.
- No destination can be found.
With S1=GoHome, the Target that was actually moved gets the interaction bag in S2 queued at the front of its queue (play reason TalkFinish), because moving the Target cancels the interaction it was playing, including a pending walk home. Nothing is queued when the Target was not moved, so the interaction it was playing keeps running untouched. The Target is passed to the queued interaction as its target, so S2 should be a bag that ends with WalkToHome (S1=GetOut).
Parameters
| Parameter | Description |
|---|---|
| BaseObject | Must be Target (the character to send out). Self is the host. |
| S1 | None, or GoHome to queue S2 after the Target has been moved. |
| S2 | InteractionBagId to queue. Required for S1=GoHome, otherwise not used. |
| F1, F2 | Not used. |
Examples
| Description | BaseObject | Command | S1 | S2 |
|---|---|---|---|---|
| Send the Target out of Self's residence | Target | EvictFromSite | None | None |
| Send the Target out, then make it walk home | Target | EvictFromSite | GoHome | GetOut_Polite_FeedBack |