Difference between revisions of "onMapSingleClick"

From Bohemia Interactive Community
Jump to navigation Jump to search
(examples formatting)
m
Line 43: Line 43:
 
'''ArmA:''' Creates a soldier unit at the position clicked.|= Example 1  
 
'''ArmA:''' Creates a soldier unit at the position clicked.|= Example 1  
  
| x2 = <code>[[onMapSingleClick]] "grp1 [[move]] _pos; [[onMapSingleClick]] ''; [[true]]";</code>
+
| x2 = <code>[[onMapSingleClick]] "grp1 [[move]] _pos; [[onMapSingleClick]] <nowiki>'</nowiki>'; [[true]]";</code>
 
'''ArmA:''' Orders "_grp1" to move to position clicked. Disables further map-click actions.| = Example 2
 
'''ArmA:''' Orders "_grp1" to move to position clicked. Disables further map-click actions.| = Example 2
  

Revision as of 01:10, 28 June 2014

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