BIS fnc interpolateConstant: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
(Created page with "{{Function|= Comments | arma3 |Game name= |1.78|Game version= <!---|arg= local |Multiplayer Arguments=---> <!---|eff= local |Multiplayer Effects=---> | <pre>/* Author:...")
 
m (infobox to template)
Line 25: Line 25:
Returns:
Returns:
SCALAR
SCALAR
*/</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_interpolateConstant]]|Syntax=
|[] call [[BIS_fnc_interpolateConstant]]|Syntax=

Revision as of 16:27, 2 April 2019

Hover & click on the images for description

Description

Description:
/*
	Author:
	Nelson Duarte

	Description:
	Interpolates scalar to target, linearly

	Parameters:
	_this: ARRAY
		0: SCALAR - The current value
		1: SCALAR - The target value
		2: SCALAR - The delta time
		3: SCALAR - The interpolation speed

	Returns:
	SCALAR
*/
Template:placeholder
Execution:
call
Groups:
Uncategorised

Syntax

Syntax:
[] call BIS_fnc_interpolateConstant
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