Switch characters or pass an item
Figure 19. A portrait can switch control. A transfer-aware portrait needs a small script instead.
For simple switching, use the Button’s Switch Character behavior. For the DOTT-style “selected item onto portrait” shortcut, use transfer_to_mara from Chapter 12 on Mara’s portrait.
| Player state | Portrait result |
|---|---|
| No item selected | Switch to the chosen character. |
| An item selected | Transfer one unit from the current character to the recipient. Keep control of the current character. |
| Transfer forbidden | Keep the item and provide feedback appropriate to the puzzle. |
| Character unavailable | Disable or hide the portrait until the story unlocks it. |
Create a separate script or recipient parameter for each portrait. Do not paste the same Mara recipient into every Button. If a puzzle requires a transfer machine or a story condition, check that condition before Transfer Inventory.
The original’s time-travel rules belong to its story. Your own transfer shortcut should follow your game’s rules, rather than moving every item anywhere without a check.
