Jump to content
This site uses cookies! Learn More

This site uses cookies!

armedunity.com uses cookies to improve user experience.

By continuing to use this site, you agree to allow us to store cookies on your computer.

maxhop

Newbie
  • Content Count

    6
  • Joined

  • Last visited

Community Reputation

0 Neutral

1 Follower

About maxhop

  • Rank
    Newbie
  1. maxhop

    HELP script of life

    Thanks Very Thanks
  2. Hello guys, WHO CAN HELP script of life as I Put A Gui In this script var health : float; private var lastHitTime : float; private var hitDirection : Vector3; private var recoilDirecion : Vector3; private var deathTime : float; private var alive : boolean = true; function Update(){ if( health <= 0 && alive){ alive = false; deathTime = Time.time; } if (health > 0){ alive = true; } health = Mathf.Max(health, 0); } function SetLastHitTime(){ lastHitTime = Time.time; } function SetLastHitTime(setTime : float){ lastHitTime = setTime; } function GetLastHitTime() : float{ return lastHitTime; } function SetHitDirection(direction : Vector3){ hitDirection = direction; } function GetHitDirection() : Vector3{ return hitDirection; } function SetrecoilDirecion(direction : Vector3){ recoilDirecion = direction; } function GetrecoilDirecion() : Vector3{ return recoilDirecion; } function GetDeathTime() : float{ return deathTime; } function SetHealth(newHealth : float){ health = newHealth; } function GetHealth() : float{ return health; }
  3. Ok Thank you for the help. Cause I'm Brazilian. Really wanted this boot Gui skil scripty Life
  4. How was disendo will be that you can help me I have a script right script hp popularemente disendo wanted one boot Gui asim dynamic that takes Enemy The giving can be help me thank Script var health : float; private var lastHitTime : float; private var hitDirection : Vector3; private var recoilDirecion : Vector3; private var deathTime : float; private var alive : boolean = true; function Update(){ if( health <= 0 && alive){ alive = false; deathTime = Time.time; } if (health > 0){ alive = true; } health = Mathf.Max(health, 0); } function SetLastHitTime(){ lastHitTime = Time.time; } function SetLastHitTime(setTime : float){ lastHitTime = setTime; } function GetLastHitTime() : float{ return lastHitTime; } function SetHitDirection(direction : Vector3){ hitDirection = direction; } function GetHitDirection() : Vector3{ return hitDirection; } function SetrecoilDirecion(direction : Vector3){ recoilDirecion = direction; } function GetrecoilDirecion() : Vector3{ return recoilDirecion; } function GetDeathTime() : float{ return deathTime; } function SetHealth(newHealth : float){ health = newHealth; } function GetHealth() : float{ return health; }
  5. MANO Thanks, I was looking for a script that save. Continues asim earned :) :) :) :) :) :) :) :) :)
  6. [earned bro. estva u looking for a login script will help you record a lot of continuity jente helping! by: Brazil
×
×
  • Create New...