[Opensim-users] osMakeNotecard , cannot use existing notecard.
R.Gunther
rigun at rigutech.nl
Sun Apr 1 14:40:56 UTC 2012
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.
More information about the Opensim-users
mailing list