Facepunch / garrysmod-requests

Feature requests for Garry's Mod
86 stars 24 forks source link

util.ScreenShake 5th argument #2154

Closed Roachdaripper closed 1 year ago

Roachdaripper commented 1 year ago

UTIL_ScreenShake in the C++ code has a 5th argument to affect airborne players void UTIL_ScreenShake( const Vector &center, float amplitude, float frequency, float duration, float radius, ShakeCommand_t eCommand, bool bAirShake )

Could this be included in the lua binding? It's fully functional, despite what the comments say image

and the affect-airborne-players spawnflag of env_shake works perfectly fine too.

robotboy655 commented 1 year ago

Done.