Unity Ninja Unity 3D Forum
To have exclusive access to all downloads, recourses and links within this forum, a free registered account is required. Just a heads up Wink

You are not connected. Please login or register

Unity Ninja Unity 3D Forum » FREE Project Downloads & Recources » Scripts » Script Help

Script Help

View previous topic View next topic Go down  Message [Page 1 of 1]

1 Script Help on Thu Aug 14, 2014 1:45 pm

DeveloperLuke


Moderator
Moderator
Can Someone fix this script

var Health = 10;
var DamageTake = 1.0;

function OnCollisionEnter(other : Collision){
if(other.Tag=="Player"){
Health = Health - DamageTake;
}
}

View user profile

2 Re: Script Help on Thu Aug 14, 2014 4:05 pm

DeveloperLuke


Moderator
Moderator
lol i messed up on something

View user profile

View previous topic View next topic Back to top  Message [Page 1 of 1]

Permissions in this forum:
You cannot reply to topics in this forum