|Anonymous | Login | Signup for a new account||2020-01-23 12:02 PST|
|Main | My View | View Issues | Change Log | Roadmap | Summary | My Account|
|View Issue Details|
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0003938||opensim||[REGION] Script Functions||public||2009-07-24 22:00||2011-08-11 22:01|
|Platform||x86 (intel processor, 32bit)||OS||Linux||OS Version||Debian Lenny|
|Target Version||Fixed in Version|
|Summary||0003938: [Proposal] Type, afk, busy animation start/stop trigger changed event|
|Description||(Former title: Typing and falling animation start/stop do not trigger changed event)|
While the new CHANGED_ANIMATION flag for the changed() event handler is an excellent tool for low-cost animation overriders, it is not triggered when the typing or falling animations start or stop.
See "Steps To Reproduce" for a recipe, though it's kind of hard to force the agent to go into the falling state without performing some other movement that would also trigger the changed() event. However, it sometimes (though not always) occurs if you rebake while sitting on a prim with a sit target.
|Steps To Reproduce||1. Put the script in "Additional Information" into an attachment.|
2. Move around to demonstrate that the changed() event handler is called when animation state changes.
3. Begin typing. Notice that the changed() event handler is not called.
4. Quit typing. Notice that when the typing animation stops, the changed() event handler is again not called.
5. Arrange to have the falling animation start, without performing any other movement which might trigger the changed() event. Again notice that the changed() event handler is not called.
|Additional Information||// Simple script to announce when the changed() event is called with the|
// CHANGED_ANIMATION flag set.
changed( integer whatChanged )
if (whatChanged & CHANGED_ANIMATION)
llOwnerSay( "Animation state changed." );
|Tags||No tags attached.|
|Git Revision or version number|
|Run Mode||Grid (1 Region per Sim) , Grid (Multiple Regions per Sim)|
|Environment||Mono / Linux32|
|Going into and out of the "Away" animation also does not trigger the changed() event.|
Changed() is triggered by a change of the avatar's "movement" animation, that is the basic animation state. Typing and away are overlay animations that don't trigger the changed() event.
changed() is triggered whenever an AO should check llGetAnimation(), which doesn't reflect typing and/or falling states. Those flags are queried by llGetAgentInfo (or something along those lines) and changed() is not fired for those changes. As of this time, this is by design for the typing and away animations, but appears to be a bug for the falling animation, which is a movement animation.
|Overriding typing and away animations is a common AO function. Is there any chance a CHANGED_STATE equivalent to CHANGED_ANIMATION can be added so that AOs can be weaned off of timers altogether?|
Tested it on OpenSimulator 0.7.2-dev. Falling seems to have been fixed by now.
For what llGetAnimation() doesn't provide but llGetAgentInfo() provides, such as typing, away, busy, it might be considered as an feature proposal.
Changed the status of this issue to "feature" and modified its title to let developers know better.
|2009-07-24 22:00||Godfrey||New Issue|
|2009-07-24 22:00||Godfrey||SVN Revision||=> 10072|
|2009-07-24 22:00||Godfrey||Run Mode||=> Grid (1 Region per Sim) , Grid (Multiple Regions per Sim)|
|2009-07-24 22:00||Godfrey||Physics Engine||=> ODE|
|2009-07-24 22:00||Godfrey||Environment||=> Mono / Linux32|
|2009-07-24 22:00||Godfrey||Mono Version||=> 2.4|
|2009-07-26 13:47||Godfrey||Note Added: 0012602|
|2009-07-26 15:39||melanie||Note Added: 0012603|
|2009-07-26 19:35||Godfrey||Note Added: 0012608|
|2011-08-11 22:01||makopoppo||Note Added: 0019467|
|2011-08-11 22:01||makopoppo||Severity||minor => feature|
|2011-08-11 22:01||makopoppo||Status||new => acknowledged|
|2011-08-11 22:01||makopoppo||Summary||Typing and falling animation start/stop do not trigger changed event => [Proposal] Type, afk, busy animation start/stop trigger changed event|
|2011-08-11 22:01||makopoppo||Description Updated|
|Copyright © 2000 - 2012 MantisBT Group|