Jump to content
Sign in to follow this  
Blubu

Wounded bodyparts

Recommended Posts

Sry iam making another topic but this has nothing to do with the other one.

I just wanted to ask if its possible to make a script wich wounds bodyparts and not the whole player

so for example the player has 0 dammage but his arms a wounded so he cannot aim correctly, or the legs are wounded so that he cant run and so on..

But setting up the dammage in the editor just makes the unit wounded but not the way I was explaining

I hope someone has a solution on this

thx :)

Share this post


Link to post
Share on other sites

I think there is no sane way to do that. You could try to spawn bullets at the coordinates where the arms or legs would be, but that would most likely not hit if the unit is moving or facing the wrong direction, and it would add to the damage count too.

Share this post


Link to post
Share on other sites

player setDammage -1

will cause the player's aim to waver, but also returns the getDammage value to 0.

Share this post


Link to post
Share on other sites
player setDammage -1

will cause the player's aim to waver, but also returns the getDammage value to 0.

exactly what I needed thank you so much *_* <3

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×