Arma 3 Scripting

Function in Key

BIS_fnc_key_getInterpMode

Also available as Markdown and JSON, or read the original wiki page.

Description

Returns the key interp mode index 0 - Linear 1 - Cubic 2 - EaseIn 3 - EaseOut 4 - EaseInOut 5 - Hermite 6 - Berp 7 - BounceIn 8 - BounceOut 9 - BounceInOut 10 - QuinticIn 11 - QuinticOut 12 - QuinticInOut 13 - ElasticIn 14 - ElasticOut 15 - ElasticInOut

Syntax

[] call BIS_fnc_key_getInterpMode

Parameters:

Returns: Integer - The mode as integer

Function header

The comment at the top of the function's file in the game; this page's description, params, returns come from it.

/*
Author: Nelson Duarte <@Nelson_G_Duarte>

Description:
Returns the key interp mode index
 0  - Linear
 1  - Cubic
 2  - EaseIn
 3  - EaseOut
 4  - EaseInOut
 5  - Hermite
 6  - Berp
 7  - BounceIn
 8  - BounceOut
 9  - BounceInOut
 10 - QuinticIn
 11 - QuinticOut
 12 - QuinticInOut
 13 - ElasticIn
 14 - ElasticOut
 15 - ElasticInOut

Parameter(s):
_this select 0: Object - The key

Returns:
Integer - The mode as integer
*/