owner

From Bohemia Interactive Community
Revision as of 07:31, 24 March 2015 by Benargee (talk | contribs)
Jump to navigation Jump to search
Hover & click on the images for description

Description

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

Syntax

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

Examples

Example 1:
_clientID = owner _someobject;

Additional Information

See also:
publicVariableClientsetOwnersetGroupOwnergroupOwnerflagOwner

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

Posted on March 24, 2015 - 06:31 (UTC)
Benargee
This command seems to always return 0 from the clients computer on a hosted mission. In my experience it only reliably works from the host computer. Results are unknown on a dedicated server as of writing this note, as I have not tested it.