„Chris.MultiNPC.lsl“ ändern
This commit is contained in:
parent
8289b22344
commit
2170ce351b
|
@ -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");
|
||||
|
||||
|
|
Loading…
Reference in New Issue