BIS fnc controlPoint computeOwnerKey: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (infobox to template)
m (pf)
Line 1: Line 1:
{{Function|= Comments
{{Function


| arma3 |Game name=
|game1= arma3


|1.78|Game version=
|version1= 1.78


<!---|arg= local |Multiplayer Arguments=--->
<!--|exec= server|=-->


<!---|eff= local |Multiplayer Effects=--->
<!--|arg= local-->


| <pre>/*
<!--|eff= local-->
Author: Nelson Duarte <@Nelson_G_Duarte>


Description:
|descr= Returns the key owner of given control point.
Returns the key owner of given control point


Parameter(s):
||s1= [controlPoint] call [[BIS_fnc_controlPoint_computeOwnerKey]]|=Syntax
_this select 0: Object - The control point


Returns:
|p1= controlPoint: [[Object]] - The control point
Object - The owner key
*/</pre>{{placeholder}}<!-- Remove this after fill-in --> |Description=


|[] call [[BIS_fnc_controlPoint_computeOwnerKey]]|Syntax=
|r1= [[Object]] - The owner key


|p1= parameter: Datatype - (Optional, default defValue) description |Parameter 1=
|x1= <code>_key = [controlPoint] [[call]] [[BIS_fnc_controlPoint_computeOwnerKey]];</code>


|Datatype - description|Return value=
|exec= call


|x1= <code></code>|Example 1=
|seealso= [[BIS_fnc_controlPoint_isArrive]] [[BIS_fnc_controlPoint_compute]] [[BIS_fnc_controlPoint_getOwnerKey]] [[BIS_fnc_controlPoint_setIsArrive]]


|exec= call |Execution=
| |See also=
}}
}}



Revision as of 12:49, 12 January 2020

Hover & click on the images for description

Description

Description:
Returns the key owner of given control point.
Execution:
call
Groups:
Uncategorised

Syntax

Syntax:
[controlPoint] call BIS_fnc_controlPoint_computeOwnerKey
Parameters:
controlPoint: Object - The control point
Return Value:
Object - The owner key

Examples

Example 1:
_key = [controlPoint] call BIS_fnc_controlPoint_computeOwnerKey;

Additional Information

See also:
BIS_fnc_controlPoint_isArrive BIS_fnc_controlPoint_compute BIS_fnc_controlPoint_getOwnerKey BIS_fnc_controlPoint_setIsArrive

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