2021-10-30 18:34:14 +02:00
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home ](./index.md ) > [bitburner ](./bitburner.md ) > [Gang ](./bitburner.gang.md ) > [setMemberTask ](./bitburner.gang.setmembertask.md )
## Gang.setMemberTask() method
2021-11-03 05:27:21 +01:00
Set gang member to task.
2021-10-30 18:34:14 +02:00
< b > Signature:< / b >
```typescript
2021-11-03 05:27:21 +01:00
setMemberTask(memberName: string, taskName: string): boolean;
2021-10-30 18:34:14 +02:00
```
## Parameters
| Parameter | Type | Description |
| --- | --- | --- |
| memberName | string | Name of Gang member to assign. |
2021-11-03 05:27:21 +01:00
| taskName | string | Task to assign. |
2021-10-30 18:34:14 +02:00
< b > Returns:< / b >
boolean
True if the Gang Member was successfully assigned to the task, false otherwise.
## Remarks
2021-10-30 21:46:34 +02:00
RAM cost: 2 GB
2021-10-30 18:34:14 +02:00
2021-11-03 05:27:21 +01:00
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”).