Home > bitburner > Gang > setMemberTask
Set gang member to task.
Signature:
setMemberTask(memberName: string, taskName: string): boolean;
Parameter | Type | Description |
---|---|---|
memberName | string | Name of Gang member to assign. |
taskName | string | Task to assign. |
Returns:
boolean
True if the Gang Member was successfully assigned to the task, false otherwise.
RAM cost: 2 GB
Attempts to assign the specified Gang Member to the specified task. If an invalid task is specified, the Gang member will be set to idle (“Unassigned”).