BIS_fnc_relPosObject

From Bohemia Interactive Community
Revision as of 16:10, 25 July 2014 by Str (talk | contribs) (1 revision)
Jump to navigation Jump to search


Hover & click on the images for description

Description

Description:
/*******************************************************************************


	Description:
	Place object relative to another object.

	Parameter(s):
	_this select 0: OBJECT - parent object
	_this select 1: OBJECT - child object what will be placed
	_this select 2: ARRAY  - offset [x,y,z] in parent object coords
	_this select 3: SCALAR (optional) - direction of the child object

	Example:
	[BIS_briefingTable,BIS_map,[0,0,1]] call BIS_fnc_relPosObject;

	Returns:
	-

	Example of quick preview code:
	[BIS_briefingTable,BIS_map,[0,-0.58,0.857],98] call BIS_fnc_relPosObject;
	BIS_briefingTable setPos getPos BIS_briefingTable;

*******************************************************************************/

(Placeholder description extracted from the function header by BIS_fnc_exportFunctionsToWiki)
Execution:
call
Groups:
Uncategorised

Syntax

Syntax:
Syntax needed
Return Value:
Return value needed

Examples

Example 1:

Additional Information

See also:
See also needed

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