BIS fnc richCurve getKeyIndex: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "|Game version= " to "|Game version= |gr1= RichCurve |GROUP1=")
m (Text replacement - " *\| *([Cc]omments|COMMENTS|[Gg]ame [Nn]ame|Game [Vv]ersion|Game Version \(number surrounded by NO SPACES\)|Multiplayer Arguments \("local" or "global"\)|Multiplayer Effects \("local" or "global"\)|Multiplayer Execution \("server" o...)
Line 1: Line 1:
{{Function|Comments=
{{Function


| arma3 |Game name=
| arma3


|1.78|Game version=
|1.78


|gr1= RichCurve |GROUP1=
|gr1= RichCurve
<!---|arg= local |Multiplayer Arguments=--->
<!---|arg= local |Multiplayer Arguments=--->


Line 22: Line 22:
Returns:
Returns:
Integer - The index of the given key in given curve
Integer - The index of the given key in given curve
*/</pre>{{placeholder}}<!-- Remove this after fill-in --> |Description=
*/</pre>{{placeholder}}<!-- Remove this after fill-in -->


|[] call [[BIS_fnc_richCurve_getKeyIndex]]|Syntax=
|[] call [[BIS_fnc_richCurve_getKeyIndex]]


|p1= parameter: Datatype - (Optional, default defValue) description |Parameter 1=
|p1= parameter: Datatype - (Optional, default defValue) description


|Datatype - description|Return value=
|Datatype - description


|x1= <code></code>|Example 1=
|x1= <code></code>


|exec= call |Execution=
|exec= call |Execution=


| |See also=
|
}}
}}



Revision as of 23:47, 17 January 2021

Hover & click on the images for description

Description

Description:
/*
	Author: Nelson Duarte <@Nelson_G_Duarte>

	Description:
	Get's the index of given key in given curve

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

	Returns:
	Integer - The index of the given key in given curve
*/
Template:placeholder
Execution:
call
Groups:
RichCurve

Syntax

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