Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow Lua to get where damage occurs #104

Closed
R00Ki3 opened this issue Dec 30, 2014 · 2 comments
Closed

Allow Lua to get where damage occurs #104

R00Ki3 opened this issue Dec 30, 2014 · 2 comments
Labels

Comments

@R00Ki3
Copy link
Member

R00Ki3 commented Dec 30, 2014

Allow Lua to get from the damage info where the damage occurred. Being Head, legs, torso, ect.

@squeek502
Copy link
Member

You could approximate this using damageinfo:GetDamagePosition() and comparing it to the origin of the victim.

@squeek502 squeek502 added the lua label Dec 30, 2014
@R00Ki3
Copy link
Member Author

R00Ki3 commented Dec 30, 2014

Ah i see, I really wasn't sure what that function was used for. Thanks Squeek.

@R00Ki3 R00Ki3 closed this as completed Jan 9, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants