Search Unity

  1. Unity 2019.2 is now released.
    Dismiss Notice

Healing area problem

Discussion in 'FPS.Sample Game' started by nanodiniz, May 14, 2019.

  1. nanodiniz

    nanodiniz

    Joined:
    Feb 19, 2019
    Posts:
    3
    I created a healing location for the assault mode but I want it to heal only when the player press a button. The problem is that I can't find a way to use a input as a condition to start healing.

    ps: I edited the assault mode script to set this area.
     
  2. Aquastar

    Aquastar

    Joined:
    Jul 17, 2013
    Posts:
    22
    You need to add a new ability (like Ability_Melee). When the player pressed the button, activate the ability.
     
    Stexe likes this.