Search the Community
Showing results for tags 'wreck'.
Found 1 result
-
Create marker for all plane wreck on the map (Tanoa)
Astrama posted a topic in ARMA 3 - MISSION EDITING & SCRIPTING
Hey, so basically I'm looking for creating a marker on the map at the location of all plane wrecks on Tanoa. I have taken this script and changed the class name of the building to match with the plane wreck but this didn't work... Can you help me please? Thank's! _middle = worldSize/2; _spawnCenter = [_middle,_middle,0]; _maxDistance = _middle; _buildingTypes = ["Land_HistoricalPlaneWreck_02_front_F"]; { _buildingType = _x; _building = _spawnCenter nearObjects [_buildingType, _maxDistance]; { _foundBuilding = _x; _pos = _foundBuilding buildingPos 0; _location = getPosATL _foundBuilding; _marker = createMarker [format ["%1", _foundBuilding],_pos]; _marker setMarkerShape "Icon"; _marker setMarkerSize [1,1]; _marker setMarkerType "mil_dot"; _marker setMarkerBrush "Solid"; _marker setMarkerAlpha 0.5; _marker setMarkerColor "ColorRed"; _marker setMarkerText format["%1", _foundBuilding]; }forEach _building; }forEach _buildingTypes;- 1 reply
-
- wreck
- nearestobjects
-
(and 1 more)
Tagged with: