Difference between revisions of "onMapSingleClick"

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "|=GROUP1" to "|GROUP1=")
m
Line 7: Line 7:
  
 
|gr1= Map |GROUP1=
 
|gr1= Map |GROUP1=
 +
 +
|gr2= Event Handlers |GROUP2=
 
____________________________________________________________________________________________
 
____________________________________________________________________________________________
  

Revision as of 23:20, 26 September 2020

Template:Command

Notes

Posted on 8 July, 2009
General Barron
See my Multiple OnMapSingleClick script to allow you to add multiple events to the onMapSingleClick event. Some minor editing of the scripts would be required to use them in Arma.

Notes

Bottom Section

Posted on April 1, 2016 - 00:25 (UTC)
Killzone Kid
_units param is supposed to return what groupSelectedUnits returns. Player must be leader and some units in the group must be selected on the group bar. However selected units are connected with group orders menu, which interferes with map click. In other words, when you click on the main map, the map gets focus and group orders menu closes, deselecting any selected unit, so _units is [] pretty much all the time.