DModelPanel.SetAnimated
From GMod Wiki
Function | |
Syntax | DModelPanel:SetAnimated( Boolean Animated ) |
Description: | |
Sets if the model is animated or not. | |
Returns: | nil |
In Object: | DModelPanel |
Realm: | |
BBCode Link: | [b][url=http://wiki.garrysmod.com/?title=DModelPanel.SetAnimated]DModelPanel.SetAnimated [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b] |
Examples
Description | Sets if the model is animated or not. |
---|---|
Used on | |
Code | DModelPanel = vgui.Create("DModelPanel") DModelPanel:SetAnimated(true) |
Output | N/A |
Additional Notes
- Default animation is the npc walk animation, or "walk_all"