owner: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
(Undo revision 88171 by Benargee (talk))
Line 51: Line 51:
<dt class="note">[[User:Benargee|Benargee]]</dt>
<dt class="note">[[User:Benargee|Benargee]]</dt>
<dd class="note">
<dd class="note">
This command seems to always return 0 from the client's 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.
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.
</dd>
</dd>
</dl>
</dl>
<!-- DISCONTINUE Notes -->
<!-- DISCONTINUE Notes -->

Revision as of 20:53, 24 March 2015

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.