BIS fnc relPosObject: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\| *((\[\[[a-zA-Z0-9_ :\\\-\/|()]+\]\],? ?)+) * \}\}" to "|seealso= $1 }}")
m (Text replacement - "\|gr([0-9]+) = " to "|gr$1= ")
Line 5: Line 5:
|1.00
|1.00


|gr1 = Positions
|gr1= Positions


|gr2 = Geometry
|gr2= Geometry


| Place an object relative to another object, like a ''setRelPos'' command.
| Place an object relative to another object, like a ''setRelPos'' command.

Revision as of 13:43, 11 April 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:
Return value needed

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