Difference between revisions of "BIS fnc vectorDirAndUpRelative"
Jump to navigation
Jump to search
Killzone Kid (talk | contribs) |
m (category) |
||
(16 intermediate revisions by 6 users not shown) | |||
Line 1: | Line 1: | ||
{{DISPLAYTITLE:BIS_fnc_vectorDirAndUpRelative}} | {{DISPLAYTITLE:BIS_fnc_vectorDirAndUpRelative}} | ||
− | {{Function|= | + | {{Function|Comments= |
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
− | | | + | | arma3 |Game name= |
− | |||
− | | | + | |1.64|Game version= |
− | |eff= |= | + | |gr1= Vectors |GROUP1= |
+ | |||
+ | |arg= |MPARGUMENTS= | ||
+ | |||
+ | |eff= |MPEFFECTS= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
− | | Returns [[setVectorDirAndUp|vectorDirAndUp]] of object 1 relative to object 2|= | + | | Returns [[setVectorDirAndUp|vectorDirAndUp]] of object 1 relative to object 2|Return1= |
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
− | | [object1, object2, visual] call '''BIS_fnc_vectorDirAndUpRelative''' |= | + | | [object1, object2, visual] call '''BIS_fnc_vectorDirAndUpRelative''' |Syntax1= |
+ | |||
+ | |p1= object1: [[Object]] |Parameter1= | ||
+ | |p2= object2: [[Object]] |Parameter2= | ||
− | + | |p3= visual (Optional): [[Boolean]] - if [[true]] - result is in render scope, [[false]] - simulation scope. Default: [[true]]|Parameter3= | |
− | |||
− | |p3= visual (Optional): [[Boolean]] - if [[true]] - result is in render scope, [[false]] - simulation scope. Default: true|= | ||
− | | [[Array]] in format <nowiki | + | | [[Array]] in format [<nowiki/>[[vectorDir]], [[vectorUp]]] |RETURNVALUE= |
− | |x1=<code>_vectorDirAndUp = [tank, car] [[call]] [[BIS_fnc_vectorDirAndUpRelative]];</code>|= | + | |x1=<code>_vectorDirAndUp = [tank, car] [[call]] [[BIS_fnc_vectorDirAndUpRelative]];</code>|EXAMPLE1= |
__________ | __________ | ||
− | | [[vectorDir]], [[vectorUp]], [[setVectorDirAndUp]] |= | + | | [[BIS_fnc_attachToRelative]], [[BIS_fnc_weaponDirectionRelative]], [[vectorDir]], [[vectorUp]], [[setVectorDirAndUp]] |SEEALSO= |
− | | |= | + | | |MPBEHAVIOUR= |
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
}} | }} | ||
Line 39: | Line 43: | ||
</dl> | </dl> | ||
− | [[Category:{{Name|arma3}}: Functions|{{uc: | + | [[Category:{{Name|arma3}}: Functions|{{uc:vectorDirAndUpRelative}}]] |
+ | [[Category:Functions|{{uc:vectorDirAndUpRelative}}]] |
Latest revision as of 01:22, 16 January 2021
Hover & click on the images for descriptions
Description
- Description:
- Returns vectorDirAndUp of object 1 relative to object 2
Syntax
- Syntax:
- [object1, object2, visual] call BIS_fnc_vectorDirAndUpRelative
- 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
- Execution:
- call
- See also:
- BIS_fnc_attachToRelativeBIS_fnc_weaponDirectionRelativevectorDirvectorUpsetVectorDirAndUp
- Groups:
- Vectors
Notes