Closed DerZade closed 5 years ago
Command to export points of interest into a Locations.json
Locations.json
Script Command
Important Location Types: ["nameVillage","nameCity","nameCityCapital"]
["nameVillage","nameCity","nameCityCapital"]
SQF Impl. (more or less):
private _w = worldSize; private _loc = nearestLocations [[_w/2, _w/2], ["nameVillage","nameCity","nameCityCapital"], _w]; private json = (_loc apply {format ['{ "pos": %1, "text": %2 }', position _x, text _x]}) joinString ", ";
Command to export points of interest into a
Locations.json
Script Command
Important Location Types:
["nameVillage","nameCity","nameCityCapital"]
SQF Impl. (more or less):