parameters onMapSingleClick command
Operand types
parameters:
Anycommand:
String
Type of returned value
Description
Defines an action performed when the user clicks on the map.
Command receives:
_pos array position
_units array selected units
_shift,_alt bool key state
_this any parameters passed to this function
If the click is processed, command should return true.
Used In
Arma2
Example
"SoldierEG" onMapSingleClick "_this createUnit [_pos, group player]"