[Opensim-users] osMakeNotecard , cannot use existing notecard.
M.E. Verhagen
marceled9 at gmail.com
Sun Apr 1 18:06:17 UTC 2012
you can read in an entire notecard with
string text = osGetNotecard(name);
Op zondag 1 april 2012 schreef R.Gunther (rigun at rigutech.nl) het volgende:
> Started to look at osMakeNotecard today. Used this example
>
> By Tom Earth
>
> default
> {
> touch_start(integer n)
> {
> key id =llDetectedKey(0);
> string name =llKey2Name(id);
> list contents;//The variable we are going to use for the contents
> of the notecard.
> contents +=["Name:"+name+"\n"];
> contents +=["Key:"+(string)id+"\n"];
> contents +=["Pos:"+(string)**llDetectedPos(0)+"\n"];
> contents +=["Rotation:"+(string)**llDetectedRot(0)+"\n"];
> osMakeNotecard(name,contents);**//Makes the notecard.
> }
> }
>
> The problem now, it create every time you click a new notecard.
> How can i configure the osMakeNotecard so it use
> the existing notecard and add new lines to it ?
>
> It looks bad to create everytime new notecards.
> It would be more healty for grid side to if you can just append data to a
> notecard.
> Instead of read old one, delete it and create a new one.
>
> Maby some extension to this osMakeNotecard command would be good idea.
>
> ______________________________**_________________
> Opensim-users mailing list
> Opensim-users at lists.berlios.de
> https://lists.berlios.de/**mailman/listinfo/opensim-users<https://lists.berlios.de/mailman/listinfo/opensim-users>
>
--
Groningen en Hannover Opensims: secondlife://meverhagen.nl:8002:Hannover
ZW/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://opensimulator.org/pipermail/opensim-users/attachments/20120401/b5ccf09a/attachment.html>
More information about the Opensim-users
mailing list