system
1
|
|
|
 |
Attention |
Topic was automatically imported from the old Question2Answer platform. |
 |
Asked By |
benwasoverthere |
This returns the error
“error(10, 1): Too few arguements for “stepify()” call. Expected at least 2”
extends Label
onready var timer : = get_node("DisplayTimer")
func _ready(): visible = false
func _process(delta): text = str(stepify(timer.get_time_left()))
func _on_DisplayTimer_start_display(): visible = true
func _on_DisplayTimer_timeout(): visible = false
system
2
|
|
|
 |
Reply From: |
jgodfrey |
As the error states, stepify()
needs 2 arguments. If you look at the docs here:
You’ll see that the first argument is the initial value
and the second argument is the step
.
Really, I have no idea what you’re trying to do in the above code, but you need to pass a 2nd numerical argument to stepify
to eliminate the error.