[Include] Attached Object Ex - Temporary Attached Objects, Sniper Zoom fix, and more
#7

1a. The reset under OnPlayerConnect is for the issue when you timeout and rejoin and still have attached objects on you. This has been confirmed as a bug as far as I know.

1b. The reset under OnPlayerKeyState change was done when I noticed after dying and having my attached objects removed, aiming with a sniper would bring those attached objects back. Though I admit this was not the proper way to do it and should be done upon the player dying.

2. Setting a timer for me was much simpler at the time, as I didn't have to check for scenarios where the player would no longer be aiming and didn't release KEY_AIM and possibly miss something, like getting hit by an interrupting explosion as seen in the video or dying as you said. You're right that that would be smoother. I'll get to work on this once I'm sure I have all the cases down.

Thanks for the feedback, helps a lot.
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)