User Tools

Site Tools



taskmanager

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
taskmanager [2017/01/09 07:42] – [For bot developers] mmoalttaskmanager [2017/05/18 06:06] (current) mmoalt
Line 132: Line 132:
 Default: 0 (Disabled) Default: 0 (Disabled)
  
 +**Reset cooldown:**\\
 +Reset the currently active cooldown. Making the task available for running again.\\
 +This button only appears if the task is currently on cooldown.
  
 **Radius:**\\ **Radius:**\\
Line 191: Line 194:
     path = false; -- Path to btree location     path = false; -- Path to btree location
     displayname = nil; -- Name visible in dropdowns (name by default)     displayname = nil; -- Name visible in dropdowns (name by default)
 +    requireduration = false; -- Task type requires a duration
 +    minduration = 0; -- Minimum duration for the task type. For tasks that need to have a certain duration.
   }   }
      
Line 210: Line 215:
 **Controller functions:** **Controller functions:**
  
-**:CanStart_TM(taskProperties,customProperties)**\\+**:CanTaskStart_TM(taskProperties,customProperties)**\\
 Return false to prevent starting the task. Return false to prevent starting the task.
  
-**:CanRun_TM(taskProperties,customProperties)**\\+**:CanTaskRun_TM(taskProperties,customProperties)**\\
 Return false to end the task. Return false to end the task.
  
taskmanager.1483947779.txt.gz · Last modified: 2017/01/09 07:42 by mmoalt