bitburner-src/markdown/bitburner.sleeve.settocommitcrime.md

36 lines
859 B
Markdown
Raw Normal View History

2021-10-30 18:34:14 +02:00
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) &gt; [bitburner](./bitburner.md) &gt; [Sleeve](./bitburner.sleeve.md) &gt; [setToCommitCrime](./bitburner.sleeve.settocommitcrime.md)
## Sleeve.setToCommitCrime() method
2021-11-03 05:27:21 +01:00
Set a sleeve to commit crime.
2021-10-30 18:34:14 +02:00
<b>Signature:</b>
```typescript
2021-11-03 05:27:21 +01:00
setToCommitCrime(sleeveNumber: number, name: string): boolean;
2021-10-30 18:34:14 +02:00
```
## Parameters
| Parameter | Type | Description |
| --- | --- | --- |
| sleeveNumber | number | Index of the sleeve to start commiting crime. |
2021-11-03 05:27:21 +01:00
| name | string | Name of the crime. Must be an exact match. |
2021-10-30 18:34:14 +02:00
<b>Returns:</b>
boolean
True if this action was set successfully, false otherwise.
## Remarks
2021-10-30 21:46:34 +02:00
RAM cost: 4 GB
2021-10-30 18:34:14 +02:00
2021-11-03 05:27:21 +01:00
Return a boolean indicating whether or not this action was set successfully.
Returns false if an invalid action is specified.