BIS fnc isEqualVector: Difference between revisions
Jump to navigation
Jump to search
m (infobox to template) |
m (filled page) |
||
Line 1: | Line 1: | ||
{{Function | {{Function | ||
| arma3 | |game1= arma3 | ||
|1.00 | |version1= 1.00 | ||
<! | <!--|exec= server|=--> | ||
<! | <!--|arg= local--> | ||
| | <!--|eff= local--> | ||
|descr= Checks whether two vectors are equal with given tolerance. | |||
|s1= [vector1, vector2, tolerance] call [[BIS_fnc_isEqualVector]] | |||
|p1= vector1: [[Array]] - Vector 1 | |||
| | |p2= vector2: [[Array]] - Vector 2 | ||
| | |p3= tolerance: [[Number]] - The tolerance | ||
| | |r1= [[Nothing]] | ||
|x1= <code></code>| | |x1= <code><nowiki>[</nowiki>[1,1,1],[2,2,2],1] [[call]] [[BIS_fnc_isEqualVector]];{{cc|Returns [[true]]}}</code> | ||
|exec= call | |||
|seealso= [[isEqualTo]] [[isEqualTypeAny]] | |||
}} | }} | ||
Revision as of 16:58, 10 January 2020
Description
- Description:
- Checks whether two vectors are equal with given tolerance.
- Execution:
- call
- Groups:
- Uncategorised
Syntax
- Syntax:
- [vector1, vector2, tolerance] call BIS_fnc_isEqualVector
- Parameters:
- vector1: Array - Vector 1
- vector2: Array - Vector 2
- tolerance: Number - The tolerance
- Return Value:
- Nothing
Examples
- Example 1:
[[1,1,1],[2,2,2],1] call BIS_fnc_isEqualVector;// Returns true
Additional Information
- See also:
- isEqualTo isEqualTypeAny
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