bitburner-src/doc/source/netscript/gangapi/setMemberTask.rst
2021-03-12 02:51:56 -05:00

14 lines
503 B
ReStructuredText

setMemberTask() Netscript Function
==================================
.. js:function:: setMemberTask(memberName, taskName)
:RAM cost: 2 GB
:param string memberName: Name of Gang member to assign
:param string taskName: Task to assign
:returns: True if the Gang Member was successfully assigned to the task. False otherwise
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")