BIS fnc relPosObject: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\|gr([0-9]+) = " to "|gr$1= ")
m (Text replacement - "| Nothing |x1=" to "|r1= Nothing |x1=")
Line 21: Line 21:
|p4= direction: [[Number]] - (Optional, default 0) direction of the child object
|p4= direction: [[Number]] - (Optional, default 0) direction of the child object


| [[Nothing]]
|r1= [[Nothing]]


|x1= <code>[BIS_briefingTable, BIS_map, [0, -0.58, 0.857], 98] [[call]] [[BIS_fnc_relPosObject]];</code>
|x1= <code>[BIS_briefingTable, BIS_map, [0, -0.58, 0.857], 98] [[call]] [[BIS_fnc_relPosObject]];</code>

Revision as of 11:06, 10 June 2021

Hover & click on the images for description

Description

Description:
Description needed
Execution:
call
Groups:
PositionsGeometry

Syntax

Syntax:
Syntax needed
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