Difference between revisions of "decayGraphValues"

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "_this" to "_this")
m (Text replacement - "<dl class="command_description"> <!-- BEGIN Note Section --> <!-- For example: <dd class="notedate">Posted on Month Day, Year - Time (UTC)</dd> <dt class="note">User Name</dt> <dd class="note">This is an example n...)
Line 32: Line 32:
 
}}
 
}}
  
<dl class="command_description">
 
<!-- BEGIN Note Section -->
 
<!-- For example:
 
<dd class="notedate">Posted on Month Day, Year - Time (UTC)</dd>
 
<dt class="note">[[User:User Name|User Name]]</dt>
 
<dd class="note">This is an example note. It is true and verifiable, and contains a little code snippet.
 
<code>[[if]] ([[Magic Variables#this|_this]] == anExample) [[then]] { [[hint]] "Leave it here for others to read"; };</code></dd>
 
-->
 
<!-- END Note Section -->
 
</dl>
 
  
  
 
{{GameCategory|arma3|Scripting Commands}}
 
{{GameCategory|arma3|Scripting Commands}}
 
[[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]]
 
[[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]]

Revision as of 17:55, 1 March 2021

Hover & click on the images for description

Description

Description:
Description needed
Groups:
Math

Syntax

Syntax:
Syntax needed
Parameters:
[lowerBoundValues, graphValues, coef]: Array
lowerBoundValues: Array - Lower bound for the new graph
graphValues: Array - Graph values
coef: Number - The coefficient to be multiplied with
Return Value:
Return value needed

Examples

Example 1:
decayGraphValues [[1,2,3,4,5], [1,4,9,16,25], 0.3] //returns [1,2,3,4.8,7.5]

Additional Information

See also:
getGraphValues

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