„Chris.MultiNPC.lsl“ ändern

This commit is contained in:
Christopher 2021-01-30 05:44:49 +00:00
parent 0fe04fa4fa
commit 5e8002e693
1 changed files with 4 additions and 2 deletions

View File

@ -31,12 +31,11 @@ state running
{
state_entry()
{
llSetTimerEvent(1);
llSetTimerEvent(0.3);
}
timer()
{
llSetTimerEvent(1);
doNextScriptStep();
}
@ -226,6 +225,8 @@ doNextScriptStep()
case "touch":
if(!script_touch(currentNPCSlot, currentNPCKey, lineCommandData))
llSay(0, "Script execution in '" + llList2String(lineCommandData, 0) + "' in nc '"+ currentncname +"' on line '" + currentLine + "' failed.");
currentNPCSlot--;
break;
case "goto":
if(script_goto(currentNPCSlot, currentNPCKey, lineCommandData))
@ -290,6 +291,7 @@ checkOSPermissions()
hardReset()
{
llSetTimerEvent(0);
integer dataListCount = llGetListLength(m_npcdata);
while(dataListCount--)
if(checkDataEntryInDataList(m_npcdata, "npc." + dataListCount))