Well, it depends on what you mean. llOwnerSaywill say things only to the owner. If you want it to say something as the owner, you'll just have to change its name temporarily to the owner's, as in
stringOwners_name = "Bob"; // Define the owner's namestringHold_name = llGetObjectName(); // Save the object's namellSetObjectName(Owners_name); // Replace the object's name with the owner's namellSay(0,"Hello, avatar!"); // Say somethingllSetObjectName(Hold_name); // Restore the object's name
Anyone receiving the message will see the owner's name show up as the sender, although it will be clear that it came from an object rather than the owner himself. (Your viewer displays object messages in a different color.)
Question
Rolig Loon
Well, it depends on what you mean. llOwnerSay will say things only to the owner. If you want it to say something as the owner, you'll just have to change its name temporarily to the owner's, as in
Anyone receiving the message will see the owner's name show up as the sender, although it will be clear that it came from an object rather than the owner himself. (Your viewer displays object messages in a different color.)
Link to comment
Share on other sites
1 answer to this question
Recommended Posts
Please take a moment to consider if this thread is worth bumping.
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now