Difference between revisions of "onMapSingleClick"

From Bohemia Interactive Community
Jump to navigation Jump to search
m (+ combo example)
(split into 2 syntaxes)
Line 33: Line 33:
 
____________________________________________________________________________________________
 
____________________________________________________________________________________________
  
| params '''onMapSingleClick''' command |= Syntax
+
| '''onMapSingleClick''' command |= Syntax
  
|p1=params: [[Anything]] |= Parameter 1
+
|p1=command: [[String]] or [[Code]] |= Parameter 2
|p2=command: [[String]] or [[Code]] |= Parameter 2
 
  
 
| [[Nothing]] |= Return value
 
| [[Nothing]] |= Return value
 +
 +
| s2= params '''onMapSingleClick''' command |= Syntax
 +
 +
|p21=params: [[Anything]] |= Parameter 1
 +
|p22=command: [[String]] or [[Code]] |= Parameter 2
 +
 +
| r2 [[Nothing]] |= Return value
 
____________________________________________________________________________________________
 
____________________________________________________________________________________________
 
| x1 = <code>[[onMapSingleClick]] "'SoldierWB' [[createUnit]] [_pos, [[group]] [[player]]]; true";</code>
 
| x1 = <code>[[onMapSingleClick]] "'SoldierWB' [[createUnit]] [_pos, [[group]] [[player]]]; true";</code>

Revision as of 15:33, 2 February 2016

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