|
I made sure that the character controller was formed around his body. I am using the official Unity FPS tutorial Script (CharacterDamage) and it has not been modified. Yes I have unity pro trial.But when i had it in normal it still wouldn't work. The script:
(comments are locked)
|
|
Left click: In order to find out your exact problem, we would need to see the weapon script. This script will be attached to the gun and it calls ApplyDamage (or at least it should for this to work)
Sep 23 '11 at 11:55 PM
J3 Gaming
That worked!!! Thank you very much!!!!
Sep 24 '11 at 01:22 AM
goosoodude
Also thumbs it up too, it helps with points here
Sep 26 '11 at 08:54 PM
J3 Gaming
I'm not allowed. I just don't have permission
Sep 26 '11 at 09:14 PM
goosoodude
(comments are locked)
|
|
Everything seems right with the function ApplyDamage...
before it and then test the function, the robot will receive damage everytime you press space in the game. Wait, what if i want to use the left click?
Sep 23 '11 at 11:49 PM
goosoodude
This is only to check out if this script is working as it should. Just like the answer from MightyGoob, it does ApplyDamage whenever you press the button (no matter where you aim).
Sep 24 '11 at 08:58 AM
RoughDesign
Oh and thanks for your help too!
Sep 24 '11 at 01:55 PM
goosoodude
(comments are locked)
|

Seriously. Can i have some help
Hello? I've been waiting over three hours to have an answer. Sorry for my impatience
Doode, it takes longer than 10 minutes to find this script, and I stopped looking after 10 minutes. Maybe you should just post the code here so people can see (& analyze) it without having to download it and then search for which file you mean.
Also, it can take even days for a question to be answered. Demanding someone to answer like you do would require to pay that person. The people here do it for free, so your "Hello?" seems quite impolite.
Sorry the 101010 button is not working. And i didn't mean it in that way. It was like you walk up to a person and you say hello.