private void Time()
{
if(_noTime == true)
{
return;
}
if(_timeLine == -1)
{
_timeLine = _gui.Time;
}
_command = string.Empty;
foreach(idTimeLineEvent e in _timeLineEvents)
{
if((e.Pending == true) && ((_gui.Time - _timeLine) >= e.Time))
{
e.Pending = false;
RunScriptList(e.Event);
}
}
if(_gui.IsActive == true)
{
_gui.PendingCommand += _command;
}
}