Health Bar -- Blender Game Engine


   
pageok

  
11.  Add an Always Sensor to HealthBar.  Set to run once

Note:
Always Sensor >> AND Controller >> Ipo Actuator
This will initialize the health bar with the property named Health.

HealthBar selected

Buttons Window menu >> Logic (F4)
Sensors Add
Always Sensor
Set to Run Once

 
  
12.  Add an AND Controller to HealthBar

Note:
Always Sensor >> AND Controller >> Ipo Actuator
This will initialize the health bar with the property named Health.

HealthBar selected

Buttons Window menu >> Logic (F4)
Controllers Add
AND Controller


   
13.  Add an Ipo Actuator to HealthBar

Note:
Always Sensor >> AND Controller >> Ipo Actuator
This will initialize the health bar with the property named Health.

HealthBar selected

Buttons Window menu >> Logic (F4)
Actuators Add
Ipo Actuator
Type:  Property
Prop:  Health

 
   
14.  Connect the Always Sensor >> AND Controller >> Ipo Actuator

HealthBar selected

Buttons Window menu >> Logic (F4)
Pull wire from brass bump to brass dimple


 
  
pageok