bitburner-src/markdown/bitburner.bladeburner.startaction.md

34 lines
802 B
Markdown
Raw Normal View History

<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) &gt; [bitburner](./bitburner.md) &gt; [Bladeburner](./bitburner.bladeburner.md) &gt; [startAction](./bitburner.bladeburner.startaction.md)
## Bladeburner.startAction() method
Start an action.
<b>Signature:</b>
```typescript
startAction(type: string, name: string): boolean;
```
## Parameters
| Parameter | Type | Description |
| --- | --- | --- |
| type | string | Type of action. |
| name | string | Name of action. Must be an exact match |
<b>Returns:</b>
boolean
True if the action was started successfully, and false otherwise.
## Remarks
RAM cost: 4 GB
Attempts to start the specified Bladeburner action. Returns true if the action was started successfully, and false otherwise.