一是B端那个,二是排队(排队方式更改),三是完成步骤后,完成的步骤提示置空
This commit is contained in:
parent
c181cc8d70
commit
ee51e886a8
@ -191,7 +191,8 @@ func playerGoToNextArea(peopleWalkFollow:PlayerPathFollow,nextArea: PlayerWalkAr
|
||||
await peopleWalkFollow.player.ArriveTargetPos
|
||||
peopleWalkFollow.queue_free()
|
||||
PlayerWalkArea3D.screenDoorWaitArea:
|
||||
goToScreenDoorAreaAndWaitTrain(peopleWalkFollow,0)
|
||||
var idNumber = peopleWalkFollow.id.split("Platform")[1]
|
||||
goToScreenDoorAreaAndWaitTrain(peopleWalkFollow,int(idNumber) % 4)
|
||||
|
||||
const areaBackInfo = {
|
||||
'B':{
|
||||
|
@ -432,11 +432,7 @@ transform = Transform3D(-4.37114e-08, 0, 1, 0, 1, 0, -1, 0, -4.37114e-08, 40.691
|
||||
[connection signal="timeout" from="AllTimer/generatePeopleAtBInboundGateArea" to="." method="generatePeopleAtBInboundGate"]
|
||||
[connection signal="timeout" from="AllTimer/generatePeopleAtBLowerStepTimer" to="." method="generatePeopleAtBLowerStep"]
|
||||
[connection signal="timeout" from="AllTimer/generatePeopleAtMiddleStepTimer" to="." method="generatePeopleAtMiddleStep"]
|
||||
[connection signal="ScreenDoorAreaEnter" from="AllScreenDoorWaitArea/ScreenDoorWaitArea1" to="." method="_on_screen_door_wait_area_screen_door_area_enter"]
|
||||
[connection signal="area_entered" from="AllScreenDoorWaitArea/ScreenDoorWaitArea1" to="." method="_on_screen_door_wait_area_1_area_entered"]
|
||||
[connection signal="ScreenDoorAreaEnter" from="AllScreenDoorWaitArea/ScreenDoorWaitArea2" to="." method="_on_screen_door_wait_area_screen_door_area_enter"]
|
||||
[connection signal="ScreenDoorAreaEnter" from="AllScreenDoorWaitArea/ScreenDoorWaitArea3" to="." method="_on_screen_door_wait_area_screen_door_area_enter"]
|
||||
[connection signal="ScreenDoorAreaEnter" from="AllScreenDoorWaitArea/ScreenDoorWaitArea4" to="." method="_on_screen_door_wait_area_screen_door_area_enter"]
|
||||
[connection signal="area_entered" from="AllAreaDetection/TicketingAreaDetection" to="AllAreaDetection/TicketingAreaDetection" method="_on_area_entered"]
|
||||
[connection signal="area_exited" from="AllAreaDetection/TicketingAreaDetection" to="AllAreaDetection/TicketingAreaDetection" method="_on_area_exited"]
|
||||
[connection signal="area_entered" from="AllAreaDetection/BInboundGateAreaDetection" to="AllAreaDetection/BInboundGateAreaDetection" method="_on_area_entered"]
|
||||
|
@ -94,7 +94,7 @@ var handleStep = [
|
||||
"checkVoice": "各位乘客请注意,本站客流较大,请排队购票或提前打开乘车二维码有序进站。"
|
||||
},
|
||||
{
|
||||
"stepName": "组织乘客进站\n步骤二:站厅站务员在站厅A出口侧的进站闸机处(切换视口到站厅A出口侧的进站闸机处),并使用手提广播。",
|
||||
"stepName": "组织乘客进站\n步骤二:站厅站务员在站厅A出口侧的进站闸机处(切换视口到站厅B端的进站闸机处),并使用手提广播。",
|
||||
"stepOperation": ['Back','StationHallB','BInboundGate','handheldRadio'],
|
||||
"next": false,
|
||||
"play": false,
|
||||
@ -780,6 +780,7 @@ func nextStep():
|
||||
nextStep()
|
||||
if step.checkVoice:
|
||||
await voiceCommunication.speech_record_check(step.checkVoice)
|
||||
$StepTip.updateOperationTip('')
|
||||
if !step.has('notNestStepAfterFinisnCheckVoice') :
|
||||
nextStep()
|
||||
if step.has('doAfterFinisnCheckVoice') :
|
||||
@ -810,6 +811,7 @@ func _on_total_current_click_check_signal(isCorrect):
|
||||
await get_tree().create_timer(0.05).timeout
|
||||
setOperationNodeAndTip()
|
||||
else:
|
||||
$StepTip.updateOperationTip('')
|
||||
$TrainTip.setTrainingTip('')
|
||||
if handleStep[handleStepIndex-1].has('doAfterFinisnStepOperation') :
|
||||
handleStep[handleStepIndex-1]['doAfterFinisnStepOperation'].call(handleStep[handleStepIndex-1])
|
||||
@ -824,6 +826,7 @@ func _on_step_tip_click_next_step() -> void:
|
||||
var step = handleStep[handleStepIndex-1]
|
||||
if step.checkVoice:
|
||||
voiceCommunication._reset_record_state()
|
||||
$StepTip.updateOperationTip('')
|
||||
if !step.has('notNestStepAfterFinisnCheckVoice') :
|
||||
nextStep()
|
||||
if step.has('doAfterFinisnCheckVoice') :
|
||||
|
Loading…
Reference in New Issue
Block a user