Mantis Bug Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0007837opensim[REGION] Script Functionspublic2016-03-06 16:052016-03-06 16:15
ReporterKayaker Magic 
Assigned To 
Platformlinux/monoOSOpenSim or Version0.9.0.0
Product Versionmaster (dev code) 
Target VersionFixed in Version 
Summary0007837: not_at_target event is not triggered in child prims
DescriptionWhen you put a call to llTarget in a script in a child prim, the not_at_target event is never triggered.
Actually, it is triggered every once in a while on very strange events, like when you add a script to the root prim, when you close the edit dialog box, perhaps other times.
Steps To ReproduceMake two prims and link them together. Put the following script in the child prim. It should print "tick" a gazzilion times (11 times a second).
Close the edit dialog box and edit the build again a few times. You will see an occasional "tick.
If you move this script into the root prim it does have the correct behavior of "tick"ing very fast.

Additional Informationdefault //this script fails in child prims
TagsNo tags attached.
Git Revision or version number
Run Mode Grid (Multiple Regions per Sim)
Physics EngineODE
Script Engine
EnvironmentMono / Linux64
Mono Versiontrunk
Attached Files

- Relationships

-  Notes
melanie (administrator)
2016-03-06 16:15

From [^]

Q: Does this function work in a child prim of a link set?
A: No. Either put the script in the root prim or use linked messages to relay between the child prim and root prim.

This shows that it's mot meant to fire in child prims. Current behavior appears to be the correct one.

Note: not_at_target is NOT a good way to realize high speed timers. It is heavy on sim resources, as all fast timers are. LSL provides many events that make fast timers unnecessary.

- Issue History
Date Modified Username Field Change
2016-03-06 16:05 Kayaker Magic New Issue
2016-03-06 16:15 melanie Note Added: 0030070

Copyright © 2000 - 2012 MantisBT Group
Powered by Mantis Bugtracker