BIS fnc controlPoint getOwnerKey: 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_getOwnerKey]]|=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_getOwnerKey]]|Syntax=
|r1= [[Object]] - The key


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


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


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


|exec= call |Execution=
| |See also=
}}
}}
[[Category:Function Group: ControlPoint|{{uc:controlPoint_getOwnerKey}}]]
[[Category:Function Group: ControlPoint|{{uc:controlPoint_getOwnerKey}}]]
[[Category:Functions|{{uc:controlPoint_getOwnerKey}}]]
[[Category:Functions|{{uc:controlPoint_getOwnerKey}}]]
[[Category:{{Name|arma3}}: Functions|{{uc:controlPoint_getOwnerKey}}]]
[[Category:{{Name|arma3}}: Functions|{{uc:controlPoint_getOwnerKey}}]]

Revision as of 11:54, 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_getOwnerKey
Parameters:
controlPoint: Object - The control point
Return Value:
Object - The key

Examples

Example 1:
_key = [controlPoint] call BIS_fnc_controlPoint_getOwnerKey;

Additional Information

See also:
BIS_fnc_controlPoint_isArrive BIS_fnc_controlPoint_compute BIS_fnc_controlPoint_computeOwnerKey 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