Task System Rules
There are currently four rules that govern operation of the Task System.
RULE_BOOL ( TaskSystem, EnableTaskSystem, false)
To enable the Task System, this must be set to
true.
RULE_INT ( TaskSystem, PeriodicCheckTimer, 5)
This is a timer value, expressed in seconds, default 5 seconds.
The 'Periodic Check' code in the Task System currently does two things:
It checks whether tasks that have a set duration have exceeded their time limit. If so, it sends a red
Task Failed. message to the client and removes the task from the Active Task Window.
The second function is in relation to the 'Touch' activity. The first time the periodic check is called following entry to a zone, a check is made to see if the player has any activities to touch that zone, in which case they are marked complete.
RULE_BOOL ( TaskSystem, RecordCompletedTasks, false)
If true, tasks that a player has completed are recorded in the completed_tasks table.
RULE_BOOL ( TaskSystem, RecordCompletedOptionalTasks, false)
Tasks may have activities that are optional. If this rule is set to true, any optional activities that a player completes are also recorded. If there are lots of tasks developed that have lots of optional activities, then this table could potentially grow rather large over time.