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
Share
Go down
avatar
Moderator
Moderator
Posts : 76
Points : 1926
Rep : 16
Join date : 2014-06-02
Age : 15
Location : Milky Way
View user profile

Script Help

on Thu Aug 14, 2014 1:45 pm
Can Someone fix this script

var Health = 10;
var DamageTake = 1.0;

function OnCollisionEnter(other : Collision){
if(other.Tag=="Player"){
Health = Health - DamageTake;
}
}
avatar
Moderator
Moderator
Posts : 76
Points : 1926
Rep : 16
Join date : 2014-06-02
Age : 15
Location : Milky Way
View user profile

Re: Script Help

on Thu Aug 14, 2014 4:05 pm
lol i messed up on something
Back to top
Permissions in this forum:
You cannot reply to topics in this forum