BIS fnc relPosObject: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) |
Lou Montana (talk | contribs) m (Text replacement - " \| *(\[[a-zA-Z,. ]*\] call ('''|\[\[)?BI(N|S)_fnc_[a-zA-Z]+('''|\]\])?) * \|p1=" to " |s1=$1 |p1=") |
||
Line 11: | Line 11: | ||
| Place an object relative to another object, like a ''setRelPos'' command. | | Place an object relative to another object, like a ''setRelPos'' command. | ||
| [parent, child, relPos, direction] call [[BIS_fnc_relPosObject]] | |s1=[parent, child, relPos, direction] call [[BIS_fnc_relPosObject]] | ||
|p1= parent: [[Object]] - the parent object | |p1= parent: [[Object]] - the parent object |
Revision as of 15:56, 12 June 2021
Description
- Description:
- Description needed
- Execution:
- call
- Groups:
- PositionsGeometry
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
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