owner: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
(Undo revision 88171 by Benargee (talk))
m (Undo revision 88170 by Benargee (talk))
Line 45: Line 45:
[[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]]
[[Category:Command_Group:_Multiplayer|{{uc:{{PAGENAME}}}}]]
[[Category:Command_Group:_Multiplayer|{{uc:{{PAGENAME}}}}]]
<!-- CONTINUE Notes -->
<dl class="command_description">
<dd class="notedate">Posted on March 24, 2015 - 06:31 (UTC)</dd>
<dt class="note">[[User:Benargee|Benargee]]</dt>
<dd class="note">
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>
</dl>
<!-- DISCONTINUE Notes -->

Revision as of 20:54, 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