ANIMATE (macro): Difference between revisions
Jump to navigation
Jump to search
TomEdwards (talk | contribs) mNo edit summary |
TomEdwards (talk | contribs) mNo edit summary |
||
Line 1: | Line 1: | ||
This macro is used to start a VGUI animation. <code>vgui_helpers.h</code> is a good place to paste it. | This macro is used to start a VGUI animation. <code>vgui_helpers.h</code> is a good place to paste it. | ||
#define | #define VGUIANIMATE(string_animation) \ | ||
g_pClientMode->GetViewportAnimationController()->StartAnimationSequence(string_animation); | g_pClientMode->GetViewportAnimationController()->StartAnimationSequence(string_animation); | ||
Revision as of 10:32, 17 May 2008
This macro is used to start a VGUI animation. vgui_helpers.h
is a good place to paste it.
#define VGUIANIMATE(string_animation) \ g_pClientMode->GetViewportAnimationController()->StartAnimationSequence(string_animation);