BIS fnc relPosObject: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\[\[[cC]ategory:\{\{Name\|arma3\}\}: [fF]unctions\|\{\{uc:[a-z A-Z_]*\}\}\]\]" to "")
m (Text replacement - "\| *((\[\[[a-zA-Z0-9_ :\\\-\/|()]+\]\],? ?)+) * \}\}" to "|seealso= $1 }}")
Line 25: Line 25:
|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>


| [[getRelPos]], [[getPos]]
|seealso= [[getRelPos]], [[getPos]]
}}
}}

Revision as of 01:36, 17 February 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