Steel UK 40 Posted May 20, 2020 Good afternoon, all and I hope everyone is doing well. I am looking for some assistance with something here. I am trying to use this: https://community.bistudio.com/wiki/BIS_fnc_findSafePos The function call has an optional parameter of blacklistPos which takes a String - marker area as a value. However, there appears that this marker area string does not exist. I have found a matching method for triggers but not markers: https://community.bistudio.com/wiki/triggerArea Does anyone have any ideas? Thank you for any help anyone can provide me with. Share this post Link to post Share on other sites
Steel UK 40 Posted May 20, 2020 So in case anyone comes across this, I have managed to solve my issue by simple putting the marker in an array and providing that as a variable. So: _pos = [player, 1000, 10000, 3, 0, 3, 0, [_markerFriendlyTerritory]] call BIS_fnc_findSafePos; as opposed to: _pos = [player, 1000, 10000, 3, 0, 3, 0, _markerFriendlyTerritory] call BIS_fnc_findSafePos; Share this post Link to post Share on other sites
Harzach 2518 Posted May 20, 2020 19 minutes ago, Steel UK said: However, there appears that this marker area string does not exist. Not sure what you mean here. The string is the name assigned to the marker when it was created. https://community.bistudio.com/wiki/createMarker Share this post Link to post Share on other sites
Steel UK 40 Posted May 20, 2020 The documentation specifically asks for "String - marker area" when it should really say "String - marker name". That's what was throwing me off. Share this post Link to post Share on other sites
Tankbuster 1747 Posted May 20, 2020 Have you got the blacklist to work? I never did. Share this post Link to post Share on other sites
Harzach 2518 Posted May 21, 2020 3 hours ago, Tankbuster said: Have you got the blacklist to work? I never did. It works great. The Biki entry was incorrect for a long time, though: https://feedback.bistudio.com/T149812 1 Share this post Link to post Share on other sites
killzone_kid 1332 Posted May 21, 2020 10 hours ago, Steel UK said: So in case anyone comes across this, I have managed to solve my issue by simple putting the marker in an array and providing that as a variable. So: _pos = [player, 1000, 10000, 3, 0, 3, 0, [_markerFriendlyTerritory]] call BIS_fnc_findSafePos; as opposed to: _pos = [player, 1000, 10000, 3, 0, 3, 0, _markerFriendlyTerritory] call BIS_fnc_findSafePos; Thats what is says in ingame help Quote 7: (Optional) ARRAY - black listed areas in format [area1, area2, area3, ...areaN], where area is: ARRAY - array in format [topLeftCorner, bottomRightCorner] or OBJECT - trigger area STRING - marker area LOCATION - location area ARRAY - array in format [center, distance] or [center, a, b, angle, rect] or [center, a, b, angle, rect, height] The blacklist is a list, i.e array because it could be multiple areas, multiple markers Share this post Link to post Share on other sites