#HP

1 messages · Page 1 of 1 (latest)

pastel flame
#

so you got player's health and you got variable

now how do you set variables to numbers?

#

how do you set variables

#

okay and player's health would be value

#

which way are you doing it

🅰️

variables:
  _playerHealth = player's health

or 🅱️

  set {_example} to 1
#

alright so did a quick test you can't use expressions I guess in the variables: section

#

but I don't see why you would want to do stuff like that speaking variables: is only creating default values which are non-existing values

#

you can still create temp variables to do it yourself or just use the expression as nothing will change either way

#

unlike other variables an expression can't change type or anything else it'll forever be %entities%'s health and will forever return number

wise pebble
#

you can do health/max health aswell for 20/20 or something like that i think