{"name":"objectFromNetId","operator":null,"title":"objectFromNetId","type":"command","url":"https://community.bistudio.com/wiki/objectFromNetId","revid":373126,"updated":"2025-04-02T15:43:29Z","groups":["Multiplayer"],"status":"ok","replaced_by":[],"games":[{"game":"arma3","name":"Arma 3","version":"0.50"},{"game":"arma2oa","name":"Arma 2: Operation Arrowhead","version":"1.63"}],"since":{"game":"arma3","name":"Arma 3","version":"0.50"},"arma3_since":"0.50","branch":null,"locality":{"argument":null,"effect":null,"server_exec":false},"exec":null,"description":"Get object with given unique ID. For groups, use groupFromNetId.","syntaxes":[{"syntax":"objectFromNetId id","since":null,"effect":null,"exec":null,"params":[{"name":"id","type":"String","optional":false,"default":null,"description":null,"types":["String"],"since":null,"text":"id: String"}],"returns":{"type":"Object","types":["Object"],"description":null,"text":"Object"},"form":"unary","operator":null,"left":null,"right":{"text":"id","types":["String"]}}],"examples":[{"text":"```sqf\nobjectFromNetId \"2:3\"\n```","code":["objectFromNetId \"2:3\""]}],"multiplayer":"Before Arma 3 v2.18 it would return objNull in multiplayer - see BIS_fnc_objectFromNetId","problems":null,"aliases":[],"see_also":["groupFromNetId","netId","BIS_fnc_objectFromNetId","BIS_fnc_netId","BIS_fnc_groupFromNetId"],"notes":[],"categories":["Arma 2: Operation Arrowhead: Scripting Commands","Arma 3: New Scripting Commands","Arma 3: Scripting Commands","Command Group: Multiplayer","Introduced with Arma 3 version 0.50","Scripting Commands"]}