BIN fnc setTargetWeight: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " --> |= Syntax |p1= |= Parameter 1 | |= Return value ____________________________________________________________________________________________ |x1= <code></code> |= ____________________________________________________________...)
m (Text replacement - "{{Feature arma3contact|This function is part of the Arma 3 Contact expansion only.}}" to "{{Feature arma3contact}}")
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
{{Function|Comments=
{{Function|= Comments
____________________________________________________________________________________________
____________________________________________________________________________________________


| arma3 |= Game name
| arma3 |Game name=


|1.94|Game version=
|1.94|Game version=
Line 24: Line 23:
[bis_car,0] call bin_fnc_setTargetWeight - Vehicle & it's crew will be ignored by targeting system
[bis_car,0] call bin_fnc_setTargetWeight - Vehicle & it's crew will be ignored by targeting system
*/
*/
</pre><small>''(Placeholder description extracted from the function header by [[BIS_fnc_exportFunctionsToWiki]])''</small> |Description=
</pre><small>''(Placeholder description extracted from the function header by [[BIS_fnc_exportFunctionsToWiki]])''</small>
{{Feature arma3contact}} |Description=
____________________________________________________________________________________________
____________________________________________________________________________________________



Revision as of 16:43, 6 December 2019

Hover & click on the images for description

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's crew will be ignored by targeting system
*/
(Placeholder description extracted from the function header by BIS_fnc_exportFunctionsToWiki) Template:Feature arma3contact
Execution:
call
Groups:
Uncategorised

Syntax

Syntax:
Syntax needed
Return Value:
Return value needed

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

Notes

Bottom Section