BIS fnc relScaledDist: Difference between revisions
Jump to navigation
Jump to search
m (1 revision) |
Lou Montana (talk | contribs) (Page filling) |
||
Line 1: | Line 1: | ||
{{Function|Comments= | |||
{{Function|= | |||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| arma3 | | | arma3 |Game name= | ||
|1.00| | |1.00|Game version= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| <pre>/ | | Original description: <pre>Exponentially inflated rational number between 0 and 1, with 1 being center and 0 being edge of the trigger</pre> | ||
{{Stub}}|Description= | |||
____________________________________________________________________________________________ | |||
| [referenceObject, relativeObject] call [[BIS_fnc_relScaledDist]] |Syntax= | |||
| | |p1= referenceObject: [[Object]] |Parameter 1= | ||
| | |p2= relativeObject: [[Object]] |Parameter 2= | ||
| | | | [[Number]] |Return value= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
|x1= <code></code> |= | |x1= <code>[myTrigger, [[player]] [[call]] [[BIS_fnc_relScaledDist]];</code> |Example 1= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| | | | [[distance]], [[distanceSqr]] |See also= | ||
}} | }} | ||
Line 51: | Line 34: | ||
<h3 style="display:none">Bottom Section</h3> | <h3 style="display:none">Bottom Section</h3> | ||
[[Category:Functions|{{uc:relScaledDist}}]] | |||
[[Category:Function Group: Geometry|{{uc:relScaledDist}}]] | [[Category:Function Group: Geometry|{{uc:relScaledDist}}]] | ||
[[Category:{{Name|arma3}}: Functions|{{uc:relScaledDist}}]] | [[Category:{{Name|arma3}}: Functions|{{uc:relScaledDist}}]] |
Revision as of 17:02, 6 June 2018
Description
- Description:
- Original description:
Exponentially inflated rational number between 0 and 1, with 1 being center and 0 being edge of the trigger
Template:Stub - Execution:
- call
- Groups:
- Uncategorised
Syntax
- Syntax:
- [referenceObject, relativeObject] call BIS_fnc_relScaledDist
- 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