BIS fnc relPosObject: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
m (Text replacement - "\[\[Category\:Function Group\: Geometry(\|\{\{[a-zA-Z0-9_:]+\}\})?\]\]" to "")
Line 41: Line 41:


<h3 style="display:none">Bottom Section</h3>
<h3 style="display:none">Bottom Section</h3>
[[Category:Function Group: Geometry|{{uc:relPosObject}}]]
 
[[Category:Functions|{{uc:relPosObject}}]]
[[Category:Functions|{{uc:relPosObject}}]]
[[Category:{{Name|arma3}}: Functions|{{uc:relPosObject}}]]
[[Category:{{Name|arma3}}: Functions|{{uc:relPosObject}}]]

Revision as of 12:16, 12 October 2020

Hover & click on the images for description

Description

Description:
Place an object relative to another object, like a setRelPos command.
Execution:
call
Groups:
PositionsGeometry

Syntax

Syntax:
[parent, child, relPos, direction] call BIS_fnc_relPosObject
Parameters:
parent: Object - the parent object
child: Object - the child object
relPos: Position - child position relative to parent
direction: Number - (Optional, default 0) direction of the child object
Return Value:
Nothing

Examples

Example 1:
[BIS_briefingTable, BIS_map, [0, -0.58, 0.857], 98] call BIS_fnc_relPosObject;

Additional Information

See also:
getRelPosgetPos

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

Notes

Bottom Section