Description
Crops given scan
Note
This content is exclusive to the Arma 3 Contact Expansion.
Syntax
syntax inferred from the function header
[param0, param1, param2, param3, param4] call BIN_fnc_cropTXScan
Parameters:
param0— 0: STRING - scan nameparam1— 1: NUMBER - crop rectangle center Xparam2— 2: NUMBER - crop rectangle center Yparam3— 3: NUMBER - crop rectangle center Wparam4— 4: NUMBER - crop rectangle center H
Returns: ARRAY - crop rectangle corners
Examples
Example 1
["MyScan", 100, 100, 1000, 500] call BIN_fnc_cropTXScan
Function header
The comment at the top of the function's file in the game; this page's params, syntax, returns, examples, description come from it.
/*
Killzone_Kid
Description:
Crops given scan
Parameter(s):
0: STRING - scan name
1: NUMBER - crop rectangle center X
2: NUMBER - crop rectangle center Y
3: NUMBER - crop rectangle center W
4: NUMBER - crop rectangle center H
Returns:
ARRAY - crop rectangle corners
Example:
["MyScan", 100, 100, 1000, 500] call BIN_fnc_cropTXScan
*/