Attention | Topic was automatically imported from the old Question2Answer platform. | |
Asked By | vladocc | |
Old Version | Published before Godot 3 was released. |
I have:
func _process(delta):
print("!!!")
if room_under_construction < rooms.size():
print("work")
gen_doors()
room_under_construction +=1
else:
print("NOT")
It iterating some time and stop.
Apart from an indentation error, impossible to say with so little information.
Akien | 2016-08-31 08:05
edited source code indentation
volzhs | 2016-08-31 09:23
Did you first initialize it in the:
func _ready()
set_process(true)
Sojan | 2016-08-31 12:13
If it stops after some time, you must have called set_process(false)
or paused a part of the tree somehow.
Zylann | 2016-08-31 12:44