BIS_fnc_relPosObject

From Bohemia Interactive Community
Jump to navigation Jump to search
Introduced with Arma 3 version 1.00
  

Click on the images for descriptions

Introduced in

Game:
Arma 3
Version:
1.00

Description

Description:
Place an object relative to another object, like a setRelPos command.

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

Execution:
call
Multiplayer:
-
See also:
getRelPosgetPos

Notes

Only post proven facts here. Report bugs on the feedback tracker. Use the talk page or the forums for discussions.
Add New Note | How To

Notes

Bottom Section