From Bohemia Interactive Community
					 
					
					
					
					
Hover & click on the images for description
 
Description
- Description:
 
- Generate graph y - coordinates of all input values within specific x and y range.
 
- Groups:
 
- Math
 
Syntax
- Syntax:
 
- getGraphValues [[graphMinX, graphMaxX, graphMinY, graphMaxY, valueCount, randomOffset], x1, y1, x2, y2, ...]
 - Parameters:
 
- graphMinX: Number - minimum x-axis value
 
- graphMaxX: Number - maximum x-axis value
 
- graphMinY: Number - minimum y-axis value
 
- graphMaxY: Number - maximum y-axis value
 
- valueCount: Number - number of values the returned array should have
 
- randomOffset: Number - random range for returned y value
 
- xN: Number - nth x value
 
- yN: Number - nth y value
 - Return Value:
 
- Array of Array of Numbers - to format [arrayOfYvalues, arrayOfXvalues]
 
Examples
- Example 1:
 
Additional Information
- See also:
 
- decayGraphValues
 
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