View Issue Details
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0005496||Multi Theft Auto : San Andreas||Server||public||2010-07-24 12:40||2011-08-15 18:59|
|Target Version||1.1||Fixed in Version||1.1|
|Summary||0005496: [REQUEST] setPedAnimationProgress scripting function|
I very need such scripting function.
There is SCM scripting opcode 0x0614(0614: set_actor $PLAYER_ACTOR animation "GYM_BP_DOWN" progress_to $1822 // 0.0 to 1.0)
It call function with address 0x04CEA80, wich actually sets the animation progress, I found out that function take one argument of type float, and it a member of some ingame class.
I think that such function must be used, to sync animation progress on streaming players(when for example, I am teleport to player with animation.)
|Tags||No tags attached.|
Actually, with the help of Jenksta and I, we've managed to fix this in 1.1. Animations aren't synced yet though.
And I don't understand what you mean by progress, do you want to manipulate the frame position / time of an animation?
Thanks for the tip, and is there an available function call that gets the position?
There is SCM scripting opcode 0x0839(0839: get_object 119@(214@,3i) animation "BD_FIRE1" progress_to 295@)
I can't upload patch directly, that's why i uplodede it on mediafire:
Added clientside and serverside SetPedAnimationProgress functions
Issue automatically marked as fixed by mantisbot ( Fixed in http://code.google.com/p/mtasa-blue/source/detail?r=3002 )