Task

From Portal Corps
Jump to navigation Jump to search
// values for StoryTask.flags:
#define TASK_REQUIRED				(1)
#define TASK_LONG					(1 << 1)
#define TASK_SHORT					(1 << 2)
#define TASK_REPEATONFAILURE		(1 << 3)
#define TASK_REPEATONSUCCESS		(1 << 4)
#define TASK_URGENT					(1 << 5)	// urgent tasks will be given out before non-urgent ones
#define TASK_UNIQUE					(1 << 6)	// unique tasks will not be reissued, even across contact sets
#define TASK_DONTRETURNTOCONTACT	(1 << 7)
#define TASK_HEIST					(1 << 8)
#define TASK_NOTEAMCOMPLETE			(1 << 9)
#define TASK_SUPERGROUP				(1 << 10)
#define TASK_ENFORCETIMELIMIT		(1 << 11)   // Task will still boot you from a mission even when completed
#define TASK_DELAYEDTIMERSTART		(1 << 12)   // Task timer does not start until entering the mission
#define TASK_NOAUTOCOMPLETE			(1 << 13)   // Task cannot be automatically completed
#define TASK_FLASHBACK				(1 << 14)   // Task shows up in flashback list
#define TASK_FLASHBACK_ONLY			(1 << 15)   // Task is not granted by normal contacts
#define TASK_PLAYERCREATED			(1 << 16)   // Task is not granted by normal contacts
#define TASK_ABANDONABLE			(1 << 17)	// Deprecated
#define TASK_NOT_ABANDONABLE		(1 << 18)	// Task can be abandoned and picked up again later
#define TASK_AUTO_ISSUE				(1 << 19)