Is there a way to Name a Prim through a local Channel Message from the Owner? My script is laid out like This:
I have a Dialog Box that prompts a message "Name Object". Then is Calls the prescripted prim in Question to listen.
if(message == "Name Object") { llOwnerSay("Please List name in Local Chat"); llListen(0, "","",""); llSetObjectName(-Name Here-);
But I cant Figure out how to set it to listen to the owners Message. I can trigger the llSetObjectName command through the command from the dialog box but I can't figure out how to get it to listen to the Selected channel so the owner can name the object though the chat window. Any Ideas? I know I'm skipping a step but I can figure out how to make it work.
LLSetPrim Name Question
in LSL Scripting
Posted
Is there a way to Name a Prim through a local Channel Message from the Owner? My script is laid out like This:
I have a Dialog Box that prompts a message "Name Object". Then is Calls the prescripted prim in Question to listen.
if(message == "Name Object")
{
llOwnerSay("Please List name in Local Chat");
llListen(0, "","","");
llSetObjectName(-Name Here-);
But I cant Figure out how to set it to listen to the owners Message. I can trigger the llSetObjectName command through the command from the dialog box but I can't figure out how to get it to listen to the Selected channel so the owner can name the object though the chat window. Any Ideas? I know I'm skipping a step but I can figure out how to make it work.