a greater b: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "{{Command " to "{{RV|type=command ") |
Lou Montana (talk | contribs) m (Some wiki formatting) |
||
Line 1: | Line 1: | ||
{{RV|type=command | {{RV|type=command | ||
| | |sortKey=# | ||
|1.00 | |game1= ofp | ||
|version1= 1.00 | |||
|gr1= Math | |gr1= Math | ||
|gr2= Variables | |gr2= Variables | ||
| Returns [[true]] if '''a''' is greater than '''b''', else returns [[false]]. | |descr= Returns [[true]] if '''a''' is greater than '''b''', else returns [[false]]. | ||
| a [[a greater b|>]] b | |s1= a [[a greater b|>]] b | ||
|p1= a: [[Number]] | |p1= a: [[Number]] | ||
Line 16: | Line 18: | ||
|p2= b: [[Number]] | |p2= b: [[Number]] | ||
| [[Boolean]] | |r1= [[Boolean]] | ||
|x1= <code>[[if]] ([[fuel]] truck1 [[a greater b|>]] 0) [[then]] { [[hint]] "Truck1 has some fuel left."; };</code> | |x1= <code>[[if]] ([[fuel]] truck1 [[a greater b|>]] 0) [[then]] { [[hint]] "Truck1 has some fuel left."; };</code> | ||
| [[Operators]] | |seealso= [[Operators]] | ||
}} | }} | ||
[[Category:Scripting Commands OFP 1.46]] | |||
[[Category:Scripting Commands OFP 1.96]] | |||
[[Category:Scripting Commands OFP 1. | [[Category:Scripting Commands OFP 1.99]] | ||
[[Category:Scripting Commands OFP 1.96 | {{GameCategory|arma1|Scripting Commands}} | ||
[[Category:Scripting Commands OFP 1. | {{GameCategory|arma2|Scripting Commands}} | ||
{{GameCategory|arma1|Scripting Commands | {{GameCategory|arma3|Scripting Commands}} | ||
{{GameCategory|arma2|Scripting Commands | |||
{{GameCategory|arma3|Scripting Commands |
Revision as of 22:56, 16 February 2021
Description
Syntax
Examples
Additional Information
- See also:
- Operators
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
Categories:
- Scripting Commands
- Introduced with Operation Flashpoint version 1.00
- Operation Flashpoint: New Scripting Commands
- Operation Flashpoint: Scripting Commands
- Command Group: Math
- Command Group: Variables
- Scripting Commands OFP 1.46
- Scripting Commands OFP 1.96
- Scripting Commands OFP 1.99
- ArmA: Armed Assault: Scripting Commands
- Arma 2: Scripting Commands
- Arma 3: Scripting Commands