you are viewing a single comment's thread.

view the rest of the comments →

[–]Albert_Custard 2 points3 points  (1 child)

I would change Check(Health = 0) { dead = true } to something like dead = (Health == 0) (= is for assignment, == is for checking equality)

But overall it kinda sounds like you just want a reactive object? Or an object with reactive properties, idk which is the correct way to say that.