objectFromNetId: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "_{10,} " to "") |
Lou Montana (talk | contribs) m (Text replacement - " *\| *([Cc]omments|COMMENTS|Game|[Gg]ame [Nn]ame|Game [Vv]ersion|Game Version \(number surrounded by NO SPACES\)|Multiplayer Arguments( \("local" or "global"\))?|Effects|Multiplayer Effects( \("local" or "global"\))?|Multiplayer Exe...) |
||
Line 1: | Line 1: | ||
{{Command | {{Command | ||
| arma3 | | arma3 | ||
|0.50 | |0.50 | ||
|gr1= Multiplayer | |gr1= Multiplayer | ||
| Get object with given unique ID. If object is a [[group]] use [[groupFromNetId]]. As this command is MP only, you can use [[BIS_fnc_objectFromNetId]], which extends the use to SP as well. | | Get object with given unique ID. If object is a [[group]] use [[groupFromNetId]]. As this command is MP only, you can use [[BIS_fnc_objectFromNetId]], which extends the use to SP as well. | ||
| '''objectFromNetId''' id | | '''objectFromNetId''' id | ||
|p1= id: [[String]] | |p1= id: [[String]] | ||
| [[Object]] | | [[Object]] | ||
|x1= <code>[[objectFromNetId]] "2:3"</code> | |x1= <code>[[objectFromNetId]] "2:3"</code> | ||
|[[groupFromNetId]], [[netId]], [[BIS_fnc_objectFromNetId]], [[BIS_fnc_netId]], [[BIS_fnc_groupFromNetId]] | |[[groupFromNetId]], [[netId]], [[BIS_fnc_objectFromNetId]], [[BIS_fnc_netId]], [[BIS_fnc_groupFromNetId]] | ||
| |MPBEHAVIOUR= | | |MPBEHAVIOUR= |
Revision as of 01:27, 18 January 2021
Description
- Description:
- Get object with given unique ID. If object is a group use groupFromNetId. As this command is MP only, you can use BIS_fnc_objectFromNetId, which extends the use to SP as well.
- Groups:
- Multiplayer
Syntax
Examples
- Example 1:
objectFromNetId "2:3"
Additional Information
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