BIS fnc cancelMarker: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "(\|p[0-9]+ *= *[^(]+\(Optional(, default[^)]*)\) )M([a-z])" to "$1m$3") |
Lou Montana (talk | contribs) m (Text replacement - "(\|p[0-9]+ *= *[^(]+\(Optional(, default[^)]*)\) )T([a-z])" to "$1t$3") |
||
Line 18: | Line 18: | ||
|p2= duration: [[Number]] - (Optional, default 1) duration of canceling in seconds | |p2= duration: [[Number]] - (Optional, default 1) duration of canceling in seconds | ||
|p3= fadeTime: [[Number]] - (Optional, default -1) | |p3= fadeTime: [[Number]] - (Optional, default -1) time in seconds after which cancel marker fades. If value is <0 then marker won't fade out and will be deleted after duration | ||
|p4= sizeMultiplier: [[Number]] - (Optional, default 1) multiplier for a size of the 'cancel' marker compared to the original | |p4= sizeMultiplier: [[Number]] - (Optional, default 1) multiplier for a size of the 'cancel' marker compared to the original |
Revision as of 12:32, 8 November 2023
Description
- Description:
- Cancels a marker by a red 'X' marker. Also sets its variable to "Canceled" to true.
- Execution:
- spawn
- Groups:
- Map and Markers
Syntax
- Syntax:
- [marker, duration, fadeTime, sizeMultiplier, angleOffset] spawn BIS_fnc_cancelMarker
- Parameters:
- marker: String - Marker
- duration: Number - (Optional, default 1) duration of canceling in seconds
- fadeTime: Number - (Optional, default -1) time in seconds after which cancel marker fades. If value is <0 then marker won't fade out and will be deleted after duration
- sizeMultiplier: Number - (Optional, default 1) multiplier for a size of the 'cancel' marker compared to the original
- angleOffset: Number - (Optional, default 45) angle offset from the original marker
- Return Value:
- Nothing
Examples
- Example 1:
Additional Information
- See also:
- BIS_fnc_blinkMarker BIS_fnc_colorMarker BIS_fnc_changeColorMarker BIS_fnc_getMarkers BIS_fnc_getMarkerState
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