setMarkerTypeLocal: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
m (Text replacement - "(\|[pr][0-9]+ *= *[^- ]*) *- *S([a-z ])" to "$1 - s$2")
 
(43 intermediate revisions by 11 users not shown)
Line 1: Line 1:
{{Command|= Comments
{{RV|type=command
____________________________________________________________________________________________


| arma |= Game name
|game1= arma1
|version1= 1.04


|1.04|= Game version
|game2= arma2
|version2= 1.00


|eff= local |= Effects in MP
|game3= arma2oa
____________________________________________________________________________________________
|version3= 1.50


| Set marker type. Type may be any of:
|game4= tkoh
* '''"Flag"'''
|version4= 1.00
* '''"Flag1"'''
* '''"Dot"'''
* '''"Destroy"'''
* '''"Start"'''
* '''"End"'''
* '''"Warning"'''
* '''"Join"'''
* '''"Pickup"'''
* '''"Unknown"'''
* '''"Marker"'''
* '''"Arrow"'''
* '''"Empty"'''
* '''"Select"''' (displayed in-game as "Empty")


Arma V1.14 also:
|game5= arma3
* '''"AirTeam"'''
|version5= 0.50
* '''"Attack"'''
* '''"Camp"'''
* '''"CommandTeam"'''
* '''"Defend"'''
* '''"Depot"'''
* '''"DestroyedVehicle"'''
* '''"FireMission"'''
* '''"Headquaters"'''
* '''"HeavyTeam"'''
* '''"InfantryTeam"'''
* '''"LightTeam"'''
* '''"Move"'''
* '''"RepairVehicle"'''
* '''"SalvageVehicle"'''
* '''"SupplyVehicle"'''
* '''"Town"'''
* '''"Vehicle"'''
|= Description
____________________________________________________________________________________________


| markerName '''setMarkerTypeLocal''' type |= Syntax
|gr1= Markers


|p1= markerName: [[String]] |= Parameter 1
|eff= local


|p2= type: [[String]]. As above |= Parameter 2
|descr= Sets marker type locally. Marker type is a class name in [[CfgMarkers]].


| [[Nothing]] |= Return value
|s1= markerName [[setMarkerTypeLocal]] type
____________________________________________________________________________________________
 
|x1= <pre>"MarkerOne" setMarkerTypeLocal "Warning"</pre> |= Example 1
____________________________________________________________________________________________


| |= See also
|p1= markerName: [[String]]


}}
|p2= type: [[String]] - see [[CfgMarkers]].


<h3 style="display:none">Notes</h3>
|r1= [[Nothing]]
<dl class="command_description">
<!-- Note Section BEGIN -->


<!-- Note Section END -->
|x1= <sqf>"MarkerOne" setMarkerTypeLocal "Warning";</sqf>
</dl>


<h3 style="display:none">Bottom Section</h3>
|seealso= [[CfgMarkers]] [[setMarkerAlpha]] [[setMarkerAlphaLocal]] [[setMarkerBrush]] [[setMarkerBrushLocal]] [[setMarkerColor]] [[setMarkerColorLocal]] [[setMarkerDir]] [[setMarkerDirLocal]] [[setMarkerPos]] [[setMarkerPosLocal]] [[setMarkerShape]] [[setMarkerShapeLocal]] [[setMarkerSize]] [[setMarkerSizeLocal]] [[setMarkerText]] [[setMarkerTextLocal]] [[setMarkerType]] [[markerType]]
[[Category:Scripting Commands|SETMARKERTYPELOCAL]]
}}
[[Category:Scripting Commands ArmA|SETMARKERTYPELOCAL]]
[[Category:Command Group: Markers|SETMARKERTYPELOCAL]]

Latest revision as of 16:49, 8 November 2023

Hover & click on the images for description

Description

Description:
Sets marker type locally. Marker type is a class name in CfgMarkers.
Groups:
Markers

Syntax

Syntax:
markerName setMarkerTypeLocal type
Parameters:
markerName: String
type: String - see CfgMarkers.
Return Value:
Nothing

Examples

Example 1:
"MarkerOne" setMarkerTypeLocal "Warning";

Additional Information

See also:
CfgMarkers setMarkerAlpha setMarkerAlphaLocal setMarkerBrush setMarkerBrushLocal setMarkerColor setMarkerColorLocal setMarkerDir setMarkerDirLocal setMarkerPos setMarkerPosLocal setMarkerShape setMarkerShapeLocal setMarkerSize setMarkerSizeLocal setMarkerText setMarkerTextLocal setMarkerType markerType

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