netId: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "\[\[[Cc]ategory:[ _]?Arma[ _]3:[ _]([^|]*)[ _]?\|.*\]\]" to "{{GameCategory|arma3|$1}}") |
Lou Montana (talk | contribs) m (Text replacement - ">Posted on October ([0-9]{2})[ a-zA-Z]*, ([0-9]{4})" to ">Posted on $2-10-$1") |
||
(28 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
{{ | {{RV|type=command | ||
| arma3 | | |game1= arma3 | ||
|version1= 0.50 | |||
| | |game2= arma2oa | ||
|version2= 1.63 | |||
|gr1= Multiplayer | |gr1= Multiplayer | ||
| 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]] | |descr= 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]] | ||
| | |s1= [[netId]] var | ||
|p1= var: [[Object]] or [[Group]] | |p1= var: [[Object]] or [[Group]] | ||
| [[String]] | |r1= [[String]] | ||
|x1= <sqf>_playerNetId = netId player;</sqf> | |||
| | |seealso= [[objectFromNetId]] [[groupFromNetId]] [[BIS_fnc_objectFromNetId]] [[BIS_fnc_netId]] [[BIS_fnc_groupFromNetId]] [[BIS_fnc_objectVar]] | ||
}} | }} | ||
<dl class="command_description"> | |||
<dl class= | |||
< | <dt></dt> | ||
<dd class="notedate">Posted on 2018-10-19 - 13:40 (UTC)</dd> | |||
<dd class="notedate">Posted on | |||
<dt class="note">[[User:demellion|demellion]]</dt> | <dt class="note">[[User:demellion|demellion]]</dt> | ||
<dd class="note"> | <dd class="note"> | ||
Line 49: | Line 31: | ||
<br>This command keeps the '''original owner''' of a created object. | <br>This command keeps the '''original owner''' of a created object. | ||
</dd> | </dd> | ||
</dl> | </dl> | ||
Latest revision as of 00:12, 14 May 2023
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
- Example 1:
Additional Information
- See also:
- objectFromNetId groupFromNetId BIS_fnc_objectFromNetId BIS_fnc_netId BIS_fnc_groupFromNetId BIS_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