----- Original Message -----
From: David Burden
Sent: Thursday, October 13, 2011 5:03 AM
Subject: [Opensim-users] Sitting an NPC
I also can't get scripts in attachments to stay working once rezzed back
out of the notecard - known problem or am I doing something wrong?
I used a script on an object attached to an NPC:
1) Don't forget to attach the object to yourself before to create the
notecard :)))
and 2) I've found a problem; to command an NPC we need to know its own key;
I noted that, in the script attached, knpc = llGetOwner() in the state_entry
returns my own key (the key of the object owner during the creation of the
attachment); to have the key of the NPC, I have inserted an llSleep(2.0)
before the llGetOwner()
ah and 3) To debug the script attached to the NPC, we cannot use
llOwnerSay(...); use llShout(0, ...debugging_message...);
GCI
_______________________________________________
Opensim-users mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/opensim-users