markerType

From Bohemia Interactive Community
Jump to: navigation, search
Introduced with Operation Flashpoint version 1.5
  Arguments of this scripting command don't have to be local to the client the command is executed on

Click on the images for descriptions

Introduced in

Game:
Operation Flashpoint
Version:
1.5

Description

Description:
Get type of marker. Note: This function is identical to getMarkerType. See cfgMarkers for a list of standard markers.

Syntax

Syntax:
String = markerType markerName
Parameters:
markerName: String
Return Value:
String. See cfgMarkers.

Examples

Example 1:
if (markerType "Marker1" == "Empty") then {hint "Marker1 is not an icon!"}

Additional Information

Multiplayer:
-
See also:
cfgMarkerssetMarkerTypesetMarkerTypeLocal

Notes

Only post proven facts here. Report bugs on the feedback tracker. Use the talk page or the forums for discussions.
Add New Note | How To

Notes

Posted on March 17, 2014
Waffle SS.
Using markerType is a good method to determine if a string is a valid marker name, unless the marker type isn't set. if (markerType "mark1" != "") then {hint "valid marker"}

Bottom Section