FutureProg functions
withdrawgrid
Overload 1
withdrawgrid overload 1
Boolean withdrawgrid(Grid grid, Location location)
Available in
- computer function
- computer program
- standard futureprog
This function allows you to withdraw a grid (electrical, gas, liquid etc) from a location. Returns true if the withdrawal happened, false implies the grid was not present or there was another error.
| Parameter | Type | Description |
|---|---|---|
grid |
Grid |
The resolved grid to withdraw from |
location |
Location |
The location you want to withdraw the grid from |
Overload 2
withdrawgrid overload 2
Boolean withdrawgrid(Number grid, Location location)
Available in
- computer function
- computer program
- standard futureprog
This function allows you to withdraw a grid (electrical, gas, liquid etc) from a new location. Returns true if the withdrawal happened, false implies the grid was not present or there was another error.
| Parameter | Type | Description |
|---|---|---|
grid |
Number |
The ID of the grid you want to withdraw from |
location |
Location |
The location you want to withdraw the grid from |