Hi, you're mixing things up here. Either you want a script action, in that case, use a script. Or you want a module to take some action, in that case, a module needs to be written.
Of course, you could write a module that injects a script into every rezzed prim. However, you would very quickly overload the sim if you did that, so it's not really a solution. Speaking of solutions, it's always much easier to find one if one knows the entire problem, and not just a facet of the considered solution. Melanie Daniel Herzog wrote: > Hi, > > > > What I want to do is to write a module which creates a prim in my scene with > an action performed when the prim is touched by the avatar. Until now, I > used to log in into OpenSim and add a script to my prim with a > "touch_start()" event. > > > > Is it possible to do that from the source code (maybe to add an OSSL > function to a SceneObjectPart)? > > > > > > Best regards, > > Daniel > > > > > ------------------------------------------------------------------------ > > _______________________________________________ > Opensim-dev mailing list > [email protected] > https://lists.berlios.de/mailman/listinfo/opensim-dev _______________________________________________ Opensim-dev mailing list [email protected] https://lists.berlios.de/mailman/listinfo/opensim-dev
