„Chris.MultiNPC.lsl“ ändern

This commit is contained in:
Christopher 2021-08-06 17:12:03 +00:00
parent 8289b22344
commit 2170ce351b
1 changed files with 0 additions and 9 deletions

View File

@ -14,7 +14,6 @@ yoptions;
//===================
list m_npcdata = [];
integer m_lastTimeCheck = 0;
readNPCPathNC(string ncName)
{
@ -618,7 +617,6 @@ default
{
removeOldNPC();
m_lastTimeCheck = llGetUnixTime();
readAllNPCPathNC();
state waitingForPlayers;
@ -635,7 +633,6 @@ state waitingForPlayers
timer()
{
llSetTimerEvent(2);
m_lastTimeCheck = llGetUnixTime();
if(getRealAgentCount() != 0)
state running;
}
@ -665,7 +662,6 @@ state running
if(message == "Start all")
{
m_lastTimeCheck = llGetUnixTime();
llSetTimerEvent(0.3);
}
@ -677,11 +673,6 @@ state running
timer()
{
if((m_lastTimeCheck + 2) <= llGetUnixTime())
hardReset("script timeout");
m_lastTimeCheck = llGetUnixTime();
if(getRealAgentCount() == 0)
hardReset("region empty");