微调
This commit is contained in:
parent
37442e4f27
commit
c901059e7c
@ -333,7 +333,7 @@ func stopGeneratePeopleAtD() -> void:
|
||||
##A入口生成
|
||||
var totalOfAEntrance=0
|
||||
func generatePeopleAtAEntrance() -> void:
|
||||
if totalOfAEntrance > 30:
|
||||
if totalOfAEntrance == 30:
|
||||
$AllTimer/generatePeopleAEntranceTimer.wait_time = 3
|
||||
if $AllAreaDetection/APassageAreaDetection.passPeopleCount< 1 and currentActiveCameraOfLarge != Camera_name.APassage:
|
||||
generatePeopleAPassage()
|
||||
@ -436,7 +436,7 @@ func generatePeopleAtCEntrance() -> void:
|
||||
var totalOfDEntrance = 0
|
||||
func generatePeopleAtDEntrance() -> void:
|
||||
totalOfDEntrance += 1
|
||||
if totalOfDEntrance > 10:
|
||||
if totalOfDEntrance == 10:
|
||||
$AllTimer/generatePeopleDEntranceTimer.wait_time = 6
|
||||
var peoplePosition = Vector3(146.12,9.8,46)
|
||||
generatePeopleAtDesignatedArea(peoplePosition,PlayerWalkArea3D.entrance,'D','D{0}'.format([totalOfDEntrance]))
|
||||
|
Loading…
Reference in New Issue
Block a user