local: Difference between revisions
Jump to navigation
Jump to search
(Added a link to Locality in Multiplayer) |
No edit summary |
||
Line 1: | Line 1: | ||
{{Command|= Comments | |||
____________________________________________________________________________________________ | |||
| ofp |= Game name | |||
|1.00|= Game version | |||
____________________________________________________________________________________________ | |||
| MP: Check if given unit is local on the computer. (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 SP all objects are local. Note: All static objects are local everywhere. |= Description | |||
____________________________________________________________________________________________ | |||
''' | | '''local''' |= Syntax | ||
|p1= obj: [[Object]] |= Parameter 1 | |||
| [[Boolean]] |= Return value | |||
____________________________________________________________________________________________ | |||
|x1= <pre>local unitName</pre> |= Example 1 | |||
____________________________________________________________________________________________ | |||
| |= See also | |||
}} | |||
<h3 style="display:none">Notes</h3> | |||
<dl class="command_description"> | |||
<!-- Note Section BEGIN --> | |||
<!-- Note Section END --> | |||
</dl> | |||
<h3 style="display:none">Bottom Section</h3> | |||
Old Notes (temporary): | |||
In multiplayer, a game logic will always be local to the host computer. This works on both dedicated and player-hosted servers. | |||
[[Category:Scripting Commands|LOCAL]] | |||
[[Category:Scripting Commands OFP 1.96|LOCAL]] | |||
[[Category:Scripting Commands OFP 1.46|LOCAL]] | |||
[[Category:Scripting Commands ArmA|LOCAL]] | |||
In multiplayer, a game logic will always be | |||
This works on both dedicated and player-hosted servers. |
Revision as of 00:59, 2 August 2006
Description
- Description:
- MP: Check if given unit is local on the computer. (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 SP all objects are local. Note: All static objects are local everywhere.
- Groups:
- Uncategorised
Syntax
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
Bottom Section
Old Notes (temporary):
In multiplayer, a game logic will always be local to the host computer. This works on both dedicated and player-hosted servers.