• Changing body groups on viewmodels without affecting other viewmodels.
    1 replies, posted
So I am trying to change the body group on my viewmodel and I am running into a bit of a problem. When I change the body group on one of my viewmodels it changes them on all of my other equipped weapon's viewmodels as well. I am getting the players viewmodel and changing the body group on it. ex: in shared.lua, Deploy function [code]Vm = self.Owner:GetViewModel() Vm:SetBodygroup( 1, 1 )[/code] Is there a way to change the current viewmodel and only that viewmodel?
Change bodygroups back ( reset them ) when you holster the weapon.
Sorry, you need to Log In to post a reply to this thread.