FutureProg functions
createfield
Overload 1
createfield overload 1
AgricultureField createfield(Location location)
Available in
- computer function
- computer program
- standard futureprog
Creates an agriculture field in a location, returning null if one already exists or no profile is available.
| Parameter | Type | Description |
|---|---|---|
location |
Location |
The location to create a field in, using the terrain default agriculture profile |
Overload 2
createfield overload 2
AgricultureField createfield(Location location, AgricultureFieldProfile profile)
Available in
- computer function
- computer program
- standard futureprog
Creates an agriculture field in a location with the resolved profile.
| Parameter | Type | Description |
|---|---|---|
location |
Location |
The location to create a field in |
profile |
AgricultureFieldProfile |
The resolved agriculture field profile |
Overload 3
createfield overload 3
AgricultureField createfield(Location location, Number profile)
Available in
- computer function
- computer program
- standard futureprog
Creates an agriculture field in a location with the specified profile.
| Parameter | Type | Description |
|---|---|---|
location |
Location |
The location to create a field in |
profile |
Number |
The agriculture field profile ID |
Overload 4
createfield overload 4
AgricultureField createfield(Location location, Text profile)
Available in
- computer function
- computer program
- standard futureprog
Creates an agriculture field in a location with the specified profile.
| Parameter | Type | Description |
|---|---|---|
location |
Location |
The location to create a field in |
profile |
Text |
The agriculture field profile name or ID |