select: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 1: Line 1:
[[Category:Scripting Commands|SELECT]]
[[Category:Scripting Commands|SELECT]]
[[Category:Scripting Commands OFP 1.97|SELECT]]
[[Category:Scripting Commands OFP 1.96|SELECT]]
[[Category:Scripting Commands OFP 1.46|SELECT]]
[[Category:Scripting Commands OFP 1.46|SELECT]]
[[Category:Scripting Commands ArmA|SELECT]]
[[Category:Scripting Commands ArmA|SELECT]]

Revision as of 21:26, 1 June 2006


array select index


Operand types:

array: Array

index: Boolean

Type of returned value:

Any Value

Description:

If index is false, select first element of array, if it is true select the second index.