Question by
Zeefone609 · Sep 01, 2016 at 02:27 PM ·
how tokill player
I need to kill bots when I shoot on them.I am not good on scripting, but I made my best.
here is my script i have wrote:
var Bullet Tag : Fbullet; var
gameObject : gameObject;
function start (){
if (Bullet.Transform =
BoxCollider(gameObject)) { if
(gameObject enabled = true);
gameObject enabled = false;
} }
Comment
Your answer
Follow this Question
Related Questions
Does any one knows how to replicate this effect in unity 3d ? 0 Answers
How do unity2d I make my game start “3-2-1 go”? 0 Answers
Tutorial on Button Mashers 0 Answers
How to Reset my int healt ? 2 Answers