Unity RTS Engine

  1. Home
  2. Unity RTS Engine
  3. Units
  4. Healer Component

Healer Component

Add the Healer component to the main unit’s object so that the unit can heal friendly units.

  1. Healing Object: A child object of the main unit object which is activated when the unit is actively healing a friendly unit.
  2. Health Per Second: The amount of health points that the unit that is getting healed receives per second.
  3. Stopping Distance: This overrides the default stopping distance set by the Movement Manager when the healer is moving towards a target unit to heal.
  4. Max Distance: When the healer is actively healing a unit, this value defines the allowed distance between the healer and its target unit in order for the healing to continue.
  5. Auto Heal: When this option is enabled, the healer will be able to automatically search for friendly units that do not have maximum health and need healing. The Search Reload field defines the time period at which the unit looks for friendly units to heal and the Search Range field is how far the unit is willing to search for units to heal.
  6. Source Effect: An effect object that is spawned on the healer when it is actively healing a friendly unit.
  7. Target Effect: An effect object that is spawned on the healer’s target when it is being healed.
  8. Healing Order Audio: An audio clip that is played when the player orders the healer to heal a unit.
  9. Healing Audio: An array of audio clips from which a random is played and looped when the unit is actively healing a friendly unit.
  10. Task UI: Allows to display a dedicated task for the healer in the task panel when it’s selected.
    1. Enabled: Only when this field is checked will the task be displayed.
    2. Icon: The task’s icon that will be displayed.
    3. Panel Category: In which task panel UI category will the task appear. For more information about UI task panel categories, check out the UI Manager.

How can we help?