Skip to content

Commit

Permalink
Merge pull request #1578 from Vdauphin/FIX-custom_loc
Browse files Browse the repository at this point in the history
FIX: Custom locations without side mission
  • Loading branch information
Vdauphin authored Jan 29, 2024
2 parents 4d446eb + 8880df2 commit ac2a357
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion =BTC=co@30_Hearts_and_Minds.Altis/core/fnc/city/create.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ params [
["_name", "", [""]],
["_cachingRadius", 0, [0]],
["_has_en", false, [false]],
["_id", count btc_city_all, [0]]
["_id", (0 min (selectMin keys btc_city_all)) - 1, [0]]
];

private _city = createTrigger ["EmptyDetector", [_position select 0, _position select 1, getTerrainHeightASL _position], false];
Expand Down
3 changes: 3 additions & 0 deletions =BTC=co@30_Hearts_and_Minds.Altis/define_mod.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@ btc_custom_loc = [
Possible types: "NameVillage","NameCity","NameCityCapital","NameLocal","Hill","Airport","NameMarine", "StrongpointArea", "BorderCrossing", "VegetationFir"
EXAMPLE: [[13132.8,3315.07,0.00128174],"NameVillage","Mountain 1",800,true]
*/
[[10280.2,9128.2,0.00128174],"NameVillage","Mountain 1",800,true],
[[9280.2,9028.207,0.00128174],"NameVillage","Mountain 2",800,true],
[[13280.2,9000.2,0.00128174],"NameVillage","Mountain 3",800,true]
];

/*
Expand Down

0 comments on commit ac2a357

Please sign in to comment.