Mantis Bug Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0006348opensim[REGION] Script Functionspublic2012-10-08 16:422012-10-08 16:55
ReporterAaack Aardvark 
Assigned To 
PrioritynormalSeveritymajorReproducibilityalways
StatusnewResolutionopen 
PlatformOSOS Version
Product Versionmaster (dev code) 
Target VersionFixed in Version 
Summary0006348: Can't setup an NPC facial expression
DescriptionI setup an NPC that has an attachment to make the avatar smile.
Since I want this expression to be constant, I set up a timer, so every 0.6 seconds triggers the animation.

Result: The NPC simle the first time but don't repeat the animation as expected.

Timer works.
Steps To Reproducecreate a box, inside put this script:

default
{
    state_entry()
    {
        llRequestPermissions(llGetOwner(), PERMISSION_TRIGGER_ANIMATION);
    }
    run_time_permissions(integer perm)
    {
        if(PERMISSION_TRIGGER_ANIMATION & perm)
        {
            llSetTimerEvent(1.5);
        }
    }
    timer()
    {
        llStartAnimation("express_smile");
    }
}

then attach the box, your avatar will start smiling.

save your appareance and create an NPC with it.

Observe the first smile and it's return to a neutral face.
TagsNo tags attached.
Git Revision or version numberOSgrid OpenSimulator 0.7.5.dev.4e9509d - [zip] [29.0mb] 09-28-2012
Run Mode Grid (Multiple Regions per Sim)
Physics EngineODE
Script Engine
EnvironmentMono / Linux64
Mono Version2.10
ViewerFirestorm 4.2.2 (29837)
Attached Files

- Relationships

-  Notes
(0022815)
SignpostMarv (reporter)
2012-10-08 16:53

http://opensimulator.org/wiki/OsNpcPlayAnimation [^]
(0022816)
Aaack Aardvark (reporter)
2012-10-08 16:55

Works too. But the facial animation wont keep playing.

It performs the smile just once.

- Issue History
Date Modified Username Field Change
2012-10-08 16:42 Aaack Aardvark New Issue
2012-10-08 16:53 SignpostMarv Note Added: 0022815
2012-10-08 16:55 Aaack Aardvark Note Added: 0022816


Copyright © 2000 - 2012 MantisBT Group
Powered by Mantis Bugtracker