onMapSingleClick: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
mNo edit summary |
||
Line 1: | Line 1: | ||
[[Category:Scripting Commands|ONMAPSINGLECLICK]] | [[Category:Scripting Commands|ONMAPSINGLECLICK]] | ||
[[Category:Scripting Commands OFP 1. | [[Category:Scripting Commands OFP 1.96|ONMAPSINGLECLICK]] | ||
[[Category:Scripting Commands ArmA|ONMAPSINGLECLICK]] | [[Category:Scripting Commands ArmA|ONMAPSINGLECLICK]] | ||
Revision as of 20:23, 1 June 2006
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 {}}