mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-11-22 23:53:48 +01:00
06a985bdf8
This reverts commit bbb6e3f309935aebac74ddb1fbeec12dfb7540b1.
847 B
847 B
Home > bitburner > Gang > setMemberTask
Gang.setMemberTask() method
Set gang member to task.
Signature:
setMemberTask(memberName: string, taskName: string): boolean;
Parameters
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.
Remarks
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”).