netId: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "\{\{GameCategory\|(arma[0123])\|[ _]?New[ _]Scripting[ _]Commands[ _]List\}\}" to "{{GameCategory|$1|New Scripting Commands}}") |
Lou Montana (talk | contribs) m (Text replacement - "_{10,} " to "") |
||
Line 1: | Line 1: | ||
{{Command|Comments= | {{Command|Comments= | ||
| arma3 |Game name= | | arma3 |Game name= | ||
Line 7: | Line 6: | ||
|gr1= Multiplayer |GROUP1= | |gr1= Multiplayer |GROUP1= | ||
| Unique ID of object or group. As this command is MP only, you can use [[BIS_fnc_netId]], which extends the use to SP as well. See also: [[BIS_fnc_objectVar]] |DESCRIPTION= | | Unique ID of object or group. As this command is MP only, you can use [[BIS_fnc_netId]], which extends the use to SP as well. See also: [[BIS_fnc_objectVar]] |DESCRIPTION= | ||
| '''netId''' var |SYNTAX= | | '''netId''' var |SYNTAX= | ||
Line 21: | Line 18: | ||
|x1= <code>_playerNetId = [[netId]] [[player]];</code>|EXAMPLE1= | |x1= <code>_playerNetId = [[netId]] [[player]];</code>|EXAMPLE1= | ||
| [[objectFromNetId]], [[groupFromNetId]], [[BIS_fnc_objectFromNetId]], [[BIS_fnc_netId]], [[BIS_fnc_groupFromNetId]], [[BIS_fnc_objectVar]] |SEEALSO= | | [[objectFromNetId]], [[groupFromNetId]], [[BIS_fnc_objectFromNetId]], [[BIS_fnc_netId]], [[BIS_fnc_groupFromNetId]], [[BIS_fnc_objectVar]] |SEEALSO= | ||
| |MPBEHAVIOUR= | | |MPBEHAVIOUR= | ||
}} | }} | ||
Revision as of 01:50, 17 January 2021
Description
- Description:
- Unique ID of object or group. As this command is MP only, you can use BIS_fnc_netId, which extends the use to SP as well. See also: BIS_fnc_objectVar
- Groups:
- Multiplayer
Syntax
Examples
Additional Information
- See also:
- objectFromNetIdgroupFromNetIdBIS_fnc_objectFromNetIdBIS_fnc_netIdBIS_fnc_groupFromNetIdBIS_fnc_objectVar
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