„Chris.MultiNPC.lsl“ ändern
This commit is contained in:
parent
0fe04fa4fa
commit
5e8002e693
|
@ -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))
|
||||
|
|
Loading…
Reference in New Issue