BIN_fnc_setTargetWeight

From Bohemia Interactive Community
Jump to navigation Jump to search
Introduced with Arma 3 version 1.941.94
Hover & click on the images for descriptions

Description

Description:
/*
	bin_fnc_setTargetWeight
	Set target priroty which is used later by bin_fnc_findTargetWeight function to find target.

	Input:
		0:
			_input - Unit, vehicle, group or side.
		1:
			_value - scalar above 0 - weight which is later used by selectRandomWeighted script command. Values equal or less than 0 are excluded from target selection

	Examples:

		[west,0] call bin_fnc_setTargetWeight - all units from side "west" will be ignored by targeting system
		[player,10] call bin_fnc_setTargetWeight - Increase player chance of being targeted by drone weapons
		[bis_car,0] call bin_fnc_setTargetWeight - Vehicle & it is crew will be ignored by targeting system
*/
(Placeholder description extracted from the function header by BIS_fnc_exportFunctionsToWiki)
arma3 Contact logo black.png
This content is exclusive to the Arma 3 Contact Expansion.

Syntax

Syntax:
Return Value:

Examples

Example:
Example needed

Additional Information

Execution:
call
See also:
See also needed
Groups:
Behavior

Notes

i
Only post proven facts here. Report bugs on the Feedback Tracker and discuss on the Arma Discord or on the Forums.

Notes

Bottom Section