BIS fnc relScaledDist: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\|gr([0-9]+) = " to "|gr$1= ")
m (Text replacement - "\|( *\[\[[a-zA-Z]+\]\]) * \|x1=" to "\|r1=$1 \|x1=")
Line 15: Line 15:
|p2= relativeObject: [[Object]]
|p2= relativeObject: [[Object]]


| [[Number]]
\|r1= [[Number]]


|x1= <code>[ myTrigger, [[player]] ] [[call]] [[BIS_fnc_relScaledDist]];</code>
\|x1= <code>[ myTrigger, [[player]] ] [[call]] [[BIS_fnc_relScaledDist]];</code>


|seealso= [[distance]], [[distanceSqr]]
|seealso= [[distance]], [[distanceSqr]]
}}
}}

Revision as of 10:26, 10 June 2021

Hover & click on the images for description

Description

Description:
Description needed
Execution:
call
Groups:
Geometry

Syntax

Syntax:
Syntax needed
Parameters:
referenceObject: Object
relativeObject: Object \
Return Value:
Number \

Examples

Example 1:
[ myTrigger, player ] call BIS_fnc_relScaledDist;

Additional Information

See also:
distancedistanceSqr

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