helix
helix copied to clipboard
Add ShouldDisableThirdperson hook
Usually, alex is very picky about hooks, while I don't see a harm in this one, he shares valid concerns that they are really slow, this disposition is multiplied by the fact that this hook would be called every frame.
I can see potential uses for this, but numbering very low -- do you have a couple things you can list that would help push the importance of a frame-level hook?
Usually, alex is very picky about hooks, while I don't see a harm in this one, he shares valid concerns that they are really slow, this disposition is multiplied by the fact that this hook would be called every frame.
I can see potential uses for this, but numbering very low -- do you have a couple things you can list that would help push the importance of a frame-level hook?
This hook can be used to disable thirdperson while player:
- is using raised weapon;
- is sighting with weapon;
- interacts with addon or plugin entity which overrides view and etc.
While first and second list items are not so important, the last can be very useful if you have, for example, custom combine binoculars entity.