garrysmod-issues
garrysmod-issues copied to clipboard
`SetFlexWeight` breaks blinking on players?
Details
When I use SetFlexWeight on player it stops blinking
] version
Protocol version 24
Exe version 2023.06.28 (garrysmod)
Exe build: 18:07:32 Feb 19 2024 (9235) (4000)
GMod version 2024.02.19, branch: x86-64, multicore: 1
Windows 64bit
https://github.com/Facepunch/garrysmod-issues/assets/79792873/b1be3204-155f-455e-b864-4319c370eaac
Steps to reproduce
- Select a valid player model
- Place camera in front of your face and enable it
- Your player model is blinking
- Run
lua_run local me = Entity(1) for i = 0, me:GetFlexNum() do me:SetFlexWeight(i, 0) end - Now it's not
The flex manipulation functions override the default flex processing for players, so it makes perfect sense.
The flex manipulation functions override the default flex processing for players, so it makes perfect sense.
Why not add some function to bring back the usual flex processing? Like Entity:RestoreFlex() or check if all flexes are on default values and restore the default flex processing.
That would be cool, because, to be honest, it's a shame that a pretty cool feature (blinking) making the characters "alive" just disappears.
A lot of people complained to me on my servers that blinking did not work and this was due to some stools using this function.
Its not exactly complicated or intensive to implement this yourself, although having a builtin for it would be nice
This is normal for Garry's mod.
@robotboy655 soo.... any news? It would be nice to have a RestoreFlex function or smth like that