BIS fnc cancelMarker: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (rollback)
m (infobox to template)
Line 30: Line 30:
_cancel = ["BIS_marker",2,1.5] spawn BIS_fnc_cancelMarker;
_cancel = ["BIS_marker",2,1.5] spawn BIS_fnc_cancelMarker;
_cancel = ["BIS_marker",2,1.5,75] spawn BIS_fnc_cancelMarker;
_cancel = ["BIS_marker",2,1.5,75] spawn BIS_fnc_cancelMarker;
*/</pre>{{Informative|Placeholder description extracted from the function header by [[BIS_fnc_exportFunctionsToWiki]]}} |Description=
*/</pre>{{placeholder}}<!-- Remove this after fill-in --> |Description=


|[] call [[BIS_fnc_cancelMarker]]|Syntax=
|[] call [[BIS_fnc_cancelMarker]]|Syntax=

Revision as of 16:26, 2 April 2019

Hover & click on the images for description

Description

Description:
/*
	Author: BIS

	Description:
	Cancels a marker by a red 'X'' marker. Also sets its varible to "Canceled" to true.

	Parameters:
	Select 0 - STRING: Marker
	Select 1 (OPTIONAL) - NUMBER: Duration of calceling, default is 1
	Select 2 (OPTIONAL) - NUMBER: After how long should the X fade out
	Select 3 (OPTIONAL) - NUMBER: Multiplier for a size of the 'cancel' marker compared to the original, default is 1
	Select 4 (OPTIONAL) - NUMBER: Angle offset from the original marker, default is 45

	Returns:
	Nothing

	Examples:
	_cancel = ["BIS_marker"] spawn BIS_fnc_cancelMarker;
	_cancel = ["BIS_marker",2] spawn BIS_fnc_cancelMarker;
	_cancel = ["BIS_marker",2,1.5] spawn BIS_fnc_cancelMarker;
	_cancel = ["BIS_marker",2,1.5,75] spawn BIS_fnc_cancelMarker;
*/
Template:placeholder
Execution:
call
Groups:
Uncategorised

Syntax

Syntax:
[] call BIS_fnc_cancelMarker
Parameters:
parameter: Datatype - (Optional, default defValue) description
Return Value:
Datatype - description

Examples

Example 1:

Additional Information

See also:
See also needed

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