End Object or not problem

I’m using Blender 2.49 on Ubuntu 9.04, and i have a problem to setup my Heath Bar project in the Game Engine :

In my example file, i collect health property which my health Bar changes in the same time and the collected object = endObject.

Now, if my health property = 100%, i want to leave this object visible. I don’t understand how to setup this fonction!?

Could you help me?
this is my example file : test-pickup-object.blend



test-pickup-object.blend (177 KB)

i found it!
Adding Expression controllers…

See file :


test-pickup-object-resolu.blend (178 KB)