razor2 wrote:
you can't run this script right
set biome to < pick random (item 1st of BIOMELST) to [item last of BIOMELST] >
You made a scripting mistake.
Here:
set [biome v] to (item [any v] of [biome list v])
Offline
berberberber wrote:
razor2 wrote:
you can't run this script right
set biome to < pick random (item 1st of BIOMELST) to [item last of BIOMELST] >You made a scripting mistake.
Here:set [biome v] to (item [any v] of [biome list v])
It could be
set [biome v] to (pick random (item (1 v) of [BIOMELIST v]) to (item (last v) of [BIOMELIST v]))
Offline
Firedrake969 wrote:
berberberber wrote:
razor2 wrote:
you can't run this script right
set biome to < pick random (item 1st of BIOMELST) to [item last of BIOMELST] >You made a scripting mistake.
Here:set [biome v] to (item [any v] of [biome list v])It could be
set [biome v] to (pick random (item (1 v) of [BIOMELIST v]) to (item (last v) of [BIOMELIST v]))
no that does not work...
if item 1 of biomelist is "tundra" and item last is "grassland", then "pich random (tundra to grassland" has no answer.
Offline
you could also do
set [biome v] to <item (pick random (1) to <length of [BIOMELIST v]>) of [BIOMELIST v]>
Offline