Let a thin wisp follow Nell’s hand
04 / SMOKE AND ROOM STATE
1. Create the smoke. In Relay Room choose Add to Scene › Particles. Give it ID thin_smoke. Under Particle Settings choose Clouds, then apply the preset. Use the following settings to turn the cloud bank into a few small puffs. The motion fields may be on Motion & Emission.
| Clouds setting | Enter |
|---|---|
| Amount / Lifetime / Particle Size / Opacity | 8 / 1.4 s / 0.06 / 0.48 |
| Direction / Gravity / Emission Area Extents | 0, 1, 0 / 0, 0.12, 0 / 0.01, 0.01, 0.01 |
| Velocity Min / Max / Spread / Preprocess | 0.12 / 0.22 / 9° / 0.4 s |
| Primary / Emission Color | #C4C1B9 / #DDD7C9. Leave Emit In Game on. Turn off turbulence and Use Local Coordinates. |
2. Fill in relay_dress. Add the following PCA Script. The first attachment puts the cigarette in Nell’s hand. The second puts the smoke on the tip. With alignRotation false, the smoke rises even when Nell lowers her hand. The light beside the bench uses the repair flag.
relay_dress / PCA SCRIPT
global lamp_ready = falseglobal lift_stage = 0function run() let off = set_flashlight_mode({"enabled":false}) let bench = set_object_visible({"entityId":"bench_glow","visible":lamp_ready}) let paper = set_object_visible({"entityId":"folded_note","visible":false}) let ready = lift_stage == 4 let stick = set_object_visible({"entityId":"paper_roll","visible":ready}) let mist = set_object_visible({"entityId":"thin_smoke","visible":ready}) if ready let held = attach_points({"entityId":"paper_roll","point":"grip","targetId":"nell","targetPoint":"offer"}) let plume = attach_points({"entityId":"thin_smoke","targetId":"paper_roll","targetPoint":"ember","alignRotation":false}) endend3. Connect it to Part 4. At the bottom of the existing relay_sync GDScript, add the line below inside func run(). Indent it four spaces, level with the first var stage line. It must run even when the camera reveal has already played. Part 4 calls relay_sync both on room entry and immediately after opening the shutter.
await CallScript("relay_dress")Before stage 4 the paper and smoke stay hidden. After Nell is freed, her hand carries the prop. If the smoke covers her face, reduce particle size and amount first.
