createMarker: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 1: Line 1:
[[Category:Scripting Commands|CREATEMARKER]]
{{Command|= Comments
[[Category:Scripting Commands OFP Elite |CREATEMARKER]]
____________________________________________________________________________________________
[[Category:Scripting Commands ArmA|CREATEMARKER]]


| ofpr |= Game name


<h2 style="color:#000066">''' createMarker ''[name, position]'''''</h2>
|1.86|= Game version
____________________________________________________________________________________________


| Creates a new marker on the given position. The marker name has to be unique. |= Description
____________________________________________________________________________________________


'''Operand types:'''
| '''createMarker''' [name, position] |= Syntax


'''[name, position]:''' [[Array]]
|p1= [name, position]: [[Array]] |= Parameter 1


'''Type of returned value:'''
| [[String]] |= Return value
____________________________________________________________________________________________
 
|x1= <pre>marker = createMarker [Marker1, [[position]] [[player]] ]</pre> |= Example 1
____________________________________________________________________________________________


[[String]]
|  |= See also


'''Compatibility:'''
}}


Version 1.86 required.
<h3 style="display:none">Notes</h3>
<dl class="command_description">
<!-- Note Section BEGIN -->


'''Description:'''
<!-- Note Section END -->
</dl>


Creates a new marker on the given position.
<h3 style="display:none">Bottom Section</h3>


The marker name has to be unique.
[[Category:Scripting Commands|CREATEMARKER]]
 
[[Category:Scripting Commands OFP Elite |CREATEMARKER]]
 
[[Category:Scripting Commands ArmA|CREATEMARKER]]
'''Example:'''
 
marker = '''createMarker''' [Marker1, [[position]] [[player]] ]

Revision as of 23:07, 1 August 2006

Hover & click on the images for description

Description

Description:
Creates a new marker on the given position. The marker name has to be unique.
Groups:
Uncategorised

Syntax

Syntax:
createMarker [name, position]
Parameters:
[name, position]: Array
Return Value:
String

Examples

Example 1:
marker = createMarker [Marker1, [[position]] [[player]] ]

Additional Information

See also:
See also needed

Notes

Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord or on the Forums.
Only post proven facts here! Add Note

Notes

Bottom Section