getMarkerType

From Bohemia Interactive Community
Jump to: navigation, search
Introduced with Operation Flashpoint version 1.21
  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.21

Description

Description:
Returns the type of a given marker. See cfgMarkers for a list of standard markers.

Syntax

Syntax:
String = getMarkerType markerName
Parameters:
markerName: String
Return Value:
String. See cfgMarkers. If the marker does not exist, the returned type is an empty string, ie ""

Examples

Example 1:
"MarkerOne" setMarkerType "Destroy"

_type = getMarkerType "MarkerOne"
returns "Destroy"

Additional Information

Multiplayer:
-
See also:
cfgMarkersmarkerTypesetMarkerTypesetMarkerTypeLocal

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

Bottom Section