• DModelPanel set animation for model
    3 replies, posted
how would i go about setting the model to use an animation such as taunt_cheer in a panel? i didn't make this btw self.ViewPlayerModel = vgui.Create( "DModelPanel" ) self.ViewPlayerModel:SetModel( LocalPlayer():GetModel() ) self.ViewPlayerModel:SetAnimated(ACT_WALK) self.ViewPlayerModel:SetAnimSpeed(1) self.ViewPlayerModel:SetFOV( 70 ) self.RightList:AddItem(self.ViewPlayerModel) any help is appreciated
[img]http://wiki.garrysmod.com/favicon.ico[/img] [url=http://wiki.garrysmod.com/page/DModelPanel/GetEntity]DModelPanel/GetEntity[/url]
i need to to run an animation on the playermodel eg the walk action but self.ViewPlayerModel:SetAnimated(ACT_WALK) doesn't work
self.ViewPlayerModel:GetEntity():SetAnimated( ACT_WALK );
Sorry, you need to Log In to post a reply to this thread.