When I change a few things within the script and then save it again, it works fine until I
re-rez it (at which point the problem repeats).
This only seems to happen when the script is placed in a child prim, when it's in the root prim it works fine. I've asked a few people in world and they're all puzzled.
The script is as follows:
-----------
list choices = ["-", "-", "-", "Close Hatch", "Countdown", "Jettison" ];
string msg = "\nAURORA-OS-1\nOperating System\n---------------------\nReady for input...";
key ToucherID;
integer channel_dialog;
integer listen_id;
default{
state_entry() {
llListen(6, "", (llGetOwner()), ""
;}
touch_start(integer total_number) {
ToucherID = llDetectedKey(0);
llDialog(ToucherID, msg,choices, 6);
}
listen(integer channel, string name, key id, string choice) {
if (choice == "Countdown"
{llSay(0, "Beginning pre-flight checks..."
;llMessageLinked(LINK_ROOT, 0, "check", ""
;}
else if (choice == "Close Hatch"
{llSay(0, "Closing hatch..."
;llMessageLinked(LINK_ALL_OTHERS, 0, "close", ""
;}
else if (choice == "Jettison"
{llSay(0, "--Going into re-entry mode--"
;}
else {
llDialog(ToucherID, msg,choices, channel_dialog);
}
}
}
----------
Thanks in advance.