BIS fnc vectorDirAndUpRelative: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "|arg=|eff=" to "|arg= |eff=") |
Lou Montana (talk | contribs) m (Text replacement - "\| *(\[\[[a-zA-Z ]+\]\].+) \|x1=" to " |r1=$1 |x1=") |
||
Line 7: | Line 7: | ||
|p1= object1: [[Object]] | |p1= object1: [[Object]] | ||
|p2= object2: [[Object]]|p3= visual (Optional): [[Boolean]] - if [[true]] - result is in render scope, [[false]] - simulation scope. Default: [[true]]| [[Array]] in format [<nowiki/>[[vectorDir]], [[vectorUp]]] | |p2= object2: [[Object]]|p3= visual (Optional): [[Boolean]] - if [[true]] - result is in render scope, [[false]] - simulation scope. Default: [[true]] | ||
|r1=[[Array]] in format [<nowiki/>[[vectorDir]], [[vectorUp]]] | |||
|x1=<code>_vectorDirAndUp = [tank, car] [[call]] [[BIS_fnc_vectorDirAndUpRelative]];</code>| [[BIS_fnc_attachToRelative]], [[BIS_fnc_weaponDirectionRelative]], [[vectorDir]], [[vectorUp]], [[setVectorDirAndUp]]}} | |x1=<code>_vectorDirAndUp = [tank, car] [[call]] [[BIS_fnc_vectorDirAndUpRelative]];</code>| [[BIS_fnc_attachToRelative]], [[BIS_fnc_weaponDirectionRelative]], [[vectorDir]], [[vectorUp]], [[setVectorDirAndUp]]}} |
Revision as of 21:01, 10 June 2021
Description
- Description:
- Description needed
- Execution:
- call
- Groups:
- Vectors
Syntax
- Syntax:
- Syntax needed
- Parameters:
- object1: Object
- object2: Object
- visual (Optional): Boolean - if true - result is in render scope, false - simulation scope. Default: true
- Return Value:
- Array in format [vectorDir, vectorUp]
Examples
- Example 1:
_vectorDirAndUp = [tank, car] call BIS_fnc_vectorDirAndUpRelative;
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