Created
June 5, 2016 06:32
-
-
Save pennyworth12345/a309b73aec15fabb649bcdb49e3262f3 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//+ icons on all building positions (used by AI and mission makers for loot) | |
buildingPositions = addMissionEventHandler ["Draw3D", { | |
_positions = nearestBuilding player buildingPos -1; | |
{ | |
drawIcon3D ["\a3\ui_f\data\gui\cfg\cursors\add_gs.paa", [0,0,0,1], _x, 0.75, 0.75, 0, format["Position %1",_foreachIndex+1]]; | |
} foreach _positions; | |
}]; | |
//removed with | |
removeMissionEventHandler ["Draw3D", buildingPositions]; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment