Difference between revisions of "onMapSingleClick"
Jump to navigation
Jump to search
Line 1: | Line 1: | ||
+ | [[Category:Scripting Commands]] | ||
+ | [[Category:Scripting Commands OFP 1.97]] | ||
+ | [[Category:Scripting Commands ArmA]] | ||
+ | |||
back to [[Scripting_Reference#O|COMREF]] | back to [[Scripting_Reference#O|COMREF]] | ||
Revision as of 15:59, 19 April 2006
back to COMREF
onMapSingleClick command
Operand types:
command: String
Type of returned value:
Compatibility:
Added in version 1.85
Description:
Define action performed when user clicks in map.
Command receives:
If click is processed, command should return true.
Examples:
onMapSingleClick {"SoldierWB" createUnit [_pos, group player]; true}
onMapSingleClick {grp1 move _pos; leader grp1 sidechat "Moving"; variable1 = true; onMapSingleClick {}}