BIS fnc vectorFromXToY: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " +" to " ")
m (Text replacement - " +" to " ")
Line 8: Line 8:
|x1= <code>_resultVector = [<nowiki/>[[getPosASL]] [[vehicle]] [[player]], [[getPosASL]] airTarget] [[call]] [[BIS_fnc_vectorFromXToY]];</code>|seealso= [[velocity]], [[setVelocity]], [[vectorAdd]]
|x1= <code>_resultVector = [<nowiki/>[[getPosASL]] [[vehicle]] [[player]], [[getPosASL]] airTarget] [[call]] [[BIS_fnc_vectorFromXToY]];</code>|seealso= [[velocity]], [[setVelocity]], [[vectorAdd]]
}}
}}


[[Category:{{Name|arma2}}: Functions|{{uc:vectorFromXToY}}]]
[[Category:{{Name|arma2}}: Functions|{{uc:vectorFromXToY}}]]

Revision as of 10:29, 11 June 2021

Hover & click on the images for description

Description

Description:
Description needed
Execution:
call
Groups:
Vectors

Syntax

Syntax:
Syntax needed
Parameters:
vector1: Array
vector2: Array
Return Value:
Array

Examples

Example 1:
_resultVector = [getPosASL vehicle player, getPosASL airTarget] call BIS_fnc_vectorFromXToY;

Additional Information

See also:
velocitysetVelocityvectorAdd

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