Amxxprogramer / EngFunc_AnimationAutomove.txt
RichieBurundi's picture
Upload 29 files
ea562e8 verified
raw
history blame
675 Bytes
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
__________________