[prev in list] [next in list] [prev in thread] [next in thread] 

List:       opensim-users
Subject:    [Opensim-users] Communication between a region module and a script
From:       jjustincc () googlemail ! com (Justin Clark-Casey)
Date:       2011-06-20 23:24:25
Message-ID: 4DFFD6A9.6060109 () googlemail ! com
[Download RAW message or body]

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


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic