Skip to content
This repository has been archived by the owner on Jul 1, 2020. It is now read-only.

Trigger callbacks when projectile hits a target #28

Open
ClobberXD opened this issue Apr 10, 2019 · 0 comments
Open

Trigger callbacks when projectile hits a target #28

ClobberXD opened this issue Apr 10, 2019 · 0 comments

Comments

@ClobberXD
Copy link
Owner

Thinking of an on_hit callback in the gun definition like what shooter has implemented...

Headshot detection code assumes that the target is a player with the MTG character model, which is very bad. Such hard-coded stuff should be removed from the API, and should be re-implemented using this callback.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant