Force-spawn the requested portrait role and close the hooded close-up
This commit is contained in:
1 parent
3084145031
commit
60f389c16b
2 files changed
+14
-2
No files matched your search
@@ -208,6 +208,14 @@ func _begin_stage() -> void:
|
||||
_apply(night_swaps)
|
||||
_queue = (stage["shots"] as Array).duplicate()
|
||||
_shot_frames = 0
|
||||
# An explicit --portrait-type asks for one role up close, but trespasser/
|
||||
# threat/crisis roles are event-driven and do not appear in the routine day
|
||||
# crowd. Spawn one directly so the hooded/winter close-up can be staged.
|
||||
if _portrait_type >= 0:
|
||||
var portrait_profile = gm.selected_scenario.profile_for(_portrait_type)
|
||||
if portrait_profile != null:
|
||||
gm.call("_spawn_npc", portrait_profile, "roam", "portrait_subject",
|
||||
{"kind": "authored"})
|
||||
print("capture_realism: stage %s at %d ms" % [stage["name"], Time.get_ticks_msec()])
|
||||
|
||||
func _run_queue(delta: float) -> void:
|
||||
|
||||
Reference in new issue
Block a user