getMarkerType
From Bohemia Interactive Community
| Editors, please check Policy: Scripting Command Page Syntax. |
Click on the images for descriptions
Introduced in
- Game:
- Operation Flashpoint
- Version:
- 1.21
Description
- Description:
- Returns the type of a given marker.
Syntax
- Syntax:
- String = getMarkerType "MarkerName"
- Parameters:
- MarkerName: String
- Return Value:
- String -
The returned type is one of "Objective", "Flag", "Dot", "Destroy", "Start", "End", "Warning", "Join", "Pickup", "Unknown", "Marker", "Arrow", "Empty" and "Empty"("Select")
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:
- Behaviour unknown.
- See also:
- setMarkerType

