#error with entity player property

1 messages · Page 1 of 1 (latest)

gritty hamlet
#

I edited the player putting two properties that serve to check if the player is contaminated by radiation and if he is sick with radiation, I did everything right, from when the properties are activated to what they cause, but when I enter the game some errors appear like (type node for property is missing), I don't know what else to do

glossy widget
#

try using 'range' instead of 'value'

gritty hamlet
#

Where?

glossy widget
#

boolean => bool

#

properties

gritty hamlet
#

Is there a way to use 'range' in a bool?

glossy widget
#

hmm, maybe it's just boolean=>bool

#

I always use 'int', because they fulfill the same function
0=false, 1=true. I don't see the need to use bool in the properties

grizzled solstice
#

Also the wiki is outdated the query is q.property()

#

Same with set_property

shell lion
# gritty hamlet I edited the player putting two properties that serve to check if the player is ...

oh its changed, its no longer using set_actor_property the documentation you followed to create that based on your logs must have been massively out of date.

I recommend you take a look at this documentation its a bit better and has more info.

https://learn.microsoft.com/en-us/minecraft/creator/documents/introductiontoentityproperties

An introductory article detailing entity properties