PackRat posted:
Indeed, many thanks for the tool switching code, that was a big help when I was struggling with the Wing Tool.
Might I suggest one change:
That check I added at the top stops it from spamming the console with null variable errors when the player dies.
No, that was not the cause. It was the client-side worldtip function that caused the error by accessing the player objects GetActiveWeapon and GetClass. When the player is dead, there is no active weapon so GetClass will fail trying to access a NULL entity.
But, I fixed that now, just download it again.
Joshgt2 posted:
Does this also apply for changing the weight of grouped things welded together or just each one individually?
Works only on single objects at a time.