0 votes

Hello world, This line of code is producing the following error:


Invalid call. Nonexistent function 'setmaxvalue' in base 'ProgressBar'.

This line works without a problem:


What am I doing wrong? Is there a bug in the code?

asked Jul 3, 2019 in Engine by Talmore (19 points)

1 Answer

+1 vote
Best answer

Set the max_value with:

$shit/cooldownbar.max_value = shitstorm

Or if you insist on calling a function:

answered Jul 4, 2019 by Dlean Jeans (3,917 points)
selected Jul 4, 2019 by Talmore

that solved my problem.

Welcome to Godot Engine Q&A, where you can ask questions and receive answers from other members of the community.

Please make sure to read How to use this Q&A? before posting your first questions.