• How to fade from one animation toanother.
    2 replies, posted
The question is fairly simple and is as follows in the title: Is there a way to fade from one animation to another in Garry's Mod. I have an addon in the works at the moment and I would like a way to go from the ACT_VM_PRIMARYATTACK straight into the ACT_VM_IDLE without cutoffs. Any help is appreciated and would assist me greatly. Thanks in advance Chaps! [I]Will[/I]
SequenceActivity() after you send the animation will give you the end of the current activity. You can use this time to either make a timer that will send the ACT_VM_IDLE anim when the time has passed, or compare with CurTime() in a Think hook. [editline]16th October 2015[/editline] You can see how the fists did it here with NetworkVars: [url]https://github.com/garrynewman/garrysmod/blob/master/garrysmod/lua/weapons/weapon_fists.lua[/url]
Thank you! All sorted now!
Sorry, you need to Log In to post a reply to this thread.