local: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 31: Line 31:
<dl class="command_description">
<dl class="command_description">
<!-- Note Section BEGIN -->
<!-- Note Section BEGIN -->
<dd class="notedate">Posted on August 4, 2006 - 10:56</dd>
<dt class="note">'''[[User:Hardrock|hardrock]]'''</dt><dd class="note">''Notes from before the conversion:''


In multiplayer, a game logic will always be local to the host computer. This works on both dedicated and player-hosted servers.
In multiplayer, a game logic will always be local to the host computer. This works on both dedicated and player-hosted servers.
</dd>
<!-- Note Section END -->
<!-- Note Section END -->
</dl>
</dl>

Revision as of 12:56, 4 August 2006

Hover & click on the images for description

Description

Description:
Check if given unit is local on the computer in Multiplayer games (see Locality in Multiplayer for general concepts). This can be used when some activation fields or scripts need to be performed only on one computer. In Singleplayer all objects are local. Note: All static objects are local everywhere.
Groups:
Uncategorised

Syntax

Syntax:
local
Parameters:
obj: Object
Return Value:
Boolean

Examples

Example 1:
local unitName

Additional Information

See also:
See also needed

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

Posted on August 4, 2006 - 10:56
hardrock
Notes from before the conversion: In multiplayer, a game logic will always be local to the host computer. This works on both dedicated and player-hosted servers.

Bottom Section