getMarkerType: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
(Add information on non-existent markers) |
||
Line 17: | Line 17: | ||
| [[String]] - | | [[String]] - | ||
The returned type is one of "Objective", "Flag", "Dot", "Destroy", "Start", "End", "Warning", "Join", "Pickup", "Unknown", "Marker", "Arrow", "Empty" and "Empty"("Select") |= Return value | 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 ""|= Return value | |||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
Revision as of 23:39, 1 September 2007
Description
- Description:
- Returns the type of a given marker.
- Groups:
- Uncategorised
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
- See also:
- setMarkerType
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