Issue Data
|
Issue #34069: Vapor Analysis - Initially displaying wrong target count
When accepting the Vapor Analysis radian quest from random colonists, the initial target count shows you need to place 0/6 analysis units at vents.
Upon exiting dialogue however, the count dropped to 0/3. The quest does completely properly after placing the 3rd unit but it obviously should not be giving bad information to the player even for a brief period. |
Quest ID: RQ_Settlement_PlaceObject_01
I believe this may be happening because stage 100 accepts the quest, calls stage 200, then immediately processes more stuff in the stage 100 fragment that needs the data from stage 200 to be initialized first and what you see on screen is the data initializing itself to the randomized count that stage 200 should have set up. Code as follows:
Stage 100:
Stage 200:
This quest attaches RQ_PlaceObjectScript and according to the Papyrus Script Manager in the CK, only this quest uses this script. So the solution may be as simple as moving the bulk of Stage 100's calls into the end of RQ_PlaceObjectScript PlaceInteractionActivators function.
I believe this may be happening because stage 100 accepts the quest, calls stage 200, then immediately processes more stuff in the stage 100 fragment that needs the data from stage 200 to be initialized first and what you see on screen is the data initializing itself to the randomized count that stage 200 should have set up. Code as follows:
Stage 100:
SetStage(200) ; create activators SetObjectiveDisplayed(100) kmyquest.SetDialogueAV_PrimaryObjectiveKnown() kmyquest.SetDialogueAV_Hello_Stressed_PostAccept() ; Add the Group's Overlay Map Marker to the map, ; in case it is not already discovered Alias_OverlayMapMarker.GetRef().AddToMapScanned(true)
Stage 200:
; Set up Activators kmyquest.PlaceInteractionActivators()
This quest attaches RQ_PlaceObjectScript and according to the Papyrus Script Manager in the CK, only this quest uses this script. So the solution may be as simple as moving the bulk of Stage 100's calls into the end of RQ_PlaceObjectScript PlaceInteractionActivators function.
Showing Comments 1 - 1 of 1