View Single Post
joropito
AlliedModders Donor
Join Date: Mar 2009
Location: pfnAddToFullPack
Old 11-13-2009 , 10:25   Re: [INFO] Fakemeta & Ham detailed function descriptions and examples
Reply With Quote #115

Fakemeta function :
Code:
EngFunc_AnimationAutomove

Description :
Plays the selected animation on entity


Usage :
Code:
entity_set_float(iEnt, EV_FL_framerate, fFrameRate); entity_set_int(iEnt, EV_INT_sequence, iSequence); engfunc(EngFunc_AnimationAutomove, iEnt, fTime);

Parameters
fFrameRate = Frame rate of desired animation.
iSequence = Sequence to play.
iEnt = Source entity.
fTime = It seems to not affect the animation. Maybe for internal use.

First you have to select the sequence and the desired frame rate. Then you can start the animation.
It will run in an endless loop.

It seems to work only on non-player entities
__________________

Divide et vinces
approved plugins | steam account

I don't accept PM for support. Just ask on forums.
If you're looking for private work, PM me.

Last edited by joropito; 11-13-2009 at 10:27.
joropito is offline
Send a message via MSN to joropito