BIS fnc vectorDirAndUpRelative: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\[\[[cC]ategory:[fF]unctions\|\{\{uc:[a-z A-Z_]*\}\}\]\]" to "")
m (Text replacement - "]]|x1" to "]] |x1")
Line 5: Line 5:


|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]]]|x1=<code>_vectorDirAndUp = [tank, car] [[call]] [[BIS_fnc_vectorDirAndUpRelative]];</code>| [[BIS_fnc_attachToRelative]], [[BIS_fnc_weaponDirectionRelative]], [[vectorDir]], [[vectorUp]], [[setVectorDirAndUp]]}}
|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]]]
 
|x1=<code>_vectorDirAndUp = [tank, car] [[call]] [[BIS_fnc_vectorDirAndUpRelative]];</code>| [[BIS_fnc_attachToRelative]], [[BIS_fnc_weaponDirectionRelative]], [[vectorDir]], [[vectorUp]], [[setVectorDirAndUp]]}}




[[Category:{{Name|arma3}}: Functions|{{uc:vectorDirAndUpRelative}}]]
[[Category:{{Name|arma3}}: Functions|{{uc:vectorDirAndUpRelative}}]]

Revision as of 22:00, 12 April 2021

Hover & click on the images for description

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:
Return value needed

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