#Bug or my issue?

1 messages · Page 1 of 1 (latest)

coarse osprey
#

What is “setCurrentValue”?

#

Where is it documented

meager badger
#

Its in types, and it does not throw an error for not existing

coarse osprey
#

Are you using standard scripting api?

meager badger
#

(I edited the link)

meager badger
coarse osprey
#

I see I see

#

Well, what entity are you getting the health from?

meager badger
#

Relevancy?

coarse osprey
#

To me it looks like you are trying to set over the maximum value

meager badger
#

Nope, 2 is not over the maximum val

#

Ok I managed to find the cause, apparently setting a default value in the health component breaks this, odd

coarse osprey
#

Uh, ok