owner: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
(example, see also added)
Line 21: Line 21:




|x1= <code>(example)</code>|= EXAMPLE1  
|x1= <code>_clientID = owner _someobject;</code>|= EXAMPLE1  


____________________________________________________________________________________________
____________________________________________________________________________________________


| |= SEEALSO  
| [[publicVariableClient]], [[setOwner]] |= SEEALSO  


|  |= MPBEHAVIOUR  
|  |= MPBEHAVIOUR  

Revision as of 11:22, 30 August 2012

Hover & click on the images for description

Description

Description:
On server machine,return the ID of the client where the object is local. Otherwise return 0.
Groups:
Uncategorised

Syntax

Syntax:
owner object
Parameters:
object: Object -
Return Value:
Number

Examples

Example 1:
_clientID = owner _someobject;

Additional Information

See also:
publicVariableClientsetOwner

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

Notes

Bottom Section