[Opensim-users] Communication between a region module and a script
Justin Clark-Casey
jjustincc at googlemail.com
Mon Jun 20 23:24:25 UTC 2011
On 16/06/11 05:42, Karl Haas wrote:
> Hi,
>
> I wrote a region module that creates prims and adds scripts to the prims.
> Is there a way to access the content of a script (e.g. a list or string) within the region module that has created the
> script or could the script call a method of the region module in order to set the content somehow?
If you have the task inventory item then you'll need to retreive the asset it points to and do something like
string script = Utils.BytesToString(asset.Data);
>
> Thanks for any help!
>
> karl
> _______________________________________________
> Opensim-users mailing list
> Opensim-users at lists.berlios.de
> https://lists.berlios.de/mailman/listinfo/opensim-users
>
--
Justin Clark-Casey (justincc)
http://justincc.org/blog
http://twitter.com/justincc
More information about the Opensim-users
mailing list