mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2026-04-20 16:22:56 +02:00
work on making the netscript api tighter
This commit is contained in:
@@ -0,0 +1,34 @@
|
||||
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
||||
|
||||
[Home](./index.md) > [bitburner](./bitburner.md) > [Singularity](./bitburner.singularity.md) > [goToLocation](./bitburner.singularity.gotolocation.md)
|
||||
|
||||
## Singularity.goToLocation() method
|
||||
|
||||
Go to a location.
|
||||
|
||||
<b>Signature:</b>
|
||||
|
||||
```typescript
|
||||
goToLocation(locationName: string): boolean;
|
||||
```
|
||||
|
||||
## Parameters
|
||||
|
||||
| Parameter | Type | Description |
|
||||
| --- | --- | --- |
|
||||
| locationName | string | Name of the location. |
|
||||
|
||||
<b>Returns:</b>
|
||||
|
||||
boolean
|
||||
|
||||
True if the player was moved there, false otherwise.
|
||||
|
||||
## Remarks
|
||||
|
||||
RAM cost: 5 GB
|
||||
|
||||
Singularity - Level 3
|
||||
|
||||
Move the player to a specific location.
|
||||
|
||||
Reference in New Issue
Block a user