{"name":"BIS_fnc_relPosObject","operator":null,"title":"BIS fnc relPosObject","type":"function","url":"https://community.bistudio.com/wiki/BIS_fnc_relPosObject","revid":327211,"updated":"2022-07-12T22:11:45Z","groups":["Positions","Geometry"],"status":"ok","replaced_by":[],"games":[{"game":"arma3","name":"Arma 3","version":"1.00"}],"since":{"game":"arma3","name":"Arma 3","version":"1.00"},"arma3_since":"1.00","branch":null,"locality":{"argument":null,"effect":null,"server_exec":false},"exec":null,"description":"Place an object relative to another object, like a *setRelPos* command.","syntaxes":[{"syntax":"[parent, child, relPos, direction] call BIS_fnc_relPosObject","since":null,"effect":null,"exec":null,"params":[{"name":"parent","type":"Object","optional":false,"default":null,"description":"the parent object","types":["Object"],"since":null,"text":"parent: Object - the parent object"},{"name":"child","type":"Object","optional":false,"default":null,"description":"the child object","types":["Object"],"since":null,"text":"child: Object - the child object"},{"name":"relPos","type":"Position","optional":false,"default":null,"description":"*child* position relative to *parent*","types":["Position"],"since":null,"text":"relPos: Position - *child* position relative to *parent*"},{"name":"direction","type":"Number","optional":true,"default":"0","description":"direction of the child object","types":["Number"],"since":null,"text":"direction: Number - (Optional, default 0) direction of the child object"}],"returns":{"type":"Nothing","types":["Nothing"],"description":null,"text":"Nothing"}}],"examples":[{"text":"```sqf\n[BIS_briefingTable, BIS_map, [0, -0.58, 0.857], 98] call BIS_fnc_relPosObject;\n```","code":["[BIS_briefingTable, BIS_map, [0, -0.58, 0.857], 98] call BIS_fnc_relPosObject;"]}],"multiplayer":null,"problems":null,"aliases":[],"see_also":["getRelPos","getPos"],"notes":[],"categories":["Arma 3: Functions","Arma 3: New Functions","Function Group: Geometry","Function Group: Positions","Functions","Introduced with Arma 3 version 1.00"],"docblock":null,"filled_from_docblock":[]}