list: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
No edit summary
Line 1: Line 1:
[[Category:Scripting Commands|LIST]]
{{Command|= Comments
[[Category:Scripting Commands OFP 1.96|LIST]]
____________________________________________________________________________________________
[[Category:Scripting Commands OFP 1.46|LIST]]
[[Category:Scripting Commands ArmA|LIST]]


| ofp |= Game name


<h2 style="color:#000066"> '''list ''trigger'''''</h2>
|1.00|= Game version
____________________________________________________________________________________________


| List of units that would activate given trigger. For trigger of type "Not present" the list is the same as that returned for "present". |= Description
____________________________________________________________________________________________


'''Operand types:'''
| '''list''' |= Syntax


'''trigger:''' [[Object]]
|p1= trigger: [[Object]] |= Parameter 1


'''Type of returned value:'''
| [[Array]] |= Return value
____________________________________________________________________________________________
 
|x1= <pre>_tlist = list triggerOne
Note: For local use in the trigger use thislist instead of list triggerOne.</pre> |= Example 1
____________________________________________________________________________________________


[[Array]]
|  |= See also


'''Description:'''
}}


List of units that would activate given '''trigger'''.
<h3 style="display:none">Notes</h3>
<dl class="command_description">
<!-- Note Section BEGIN -->


For trigger of type "Not present" the list is the same as that returned for "present".
<!-- Note Section END -->
</dl>


 
<h3 style="display:none">Bottom Section</h3>
'''Example:'''
[[Category:Scripting Commands|LIST]]
 
[[Category:Scripting Commands OFP 1.96|LIST]]
_tlist = '''list''' triggerOne
[[Category:Scripting Commands OFP 1.46|LIST]]
 
[[Category:Scripting Commands ArmA|LIST]]
 
'''Note:'''
 
For local use in the trigger use ''thislist'' instead of '''list''' ''triggerOne''.

Revision as of 00:58, 2 August 2006

Hover & click on the images for description

Description

Description:
List of units that would activate given trigger. For trigger of type "Not present" the list is the same as that returned for "present".
Groups:
Uncategorised

Syntax

Syntax:
list
Parameters:
trigger: Object
Return Value:
Array

Examples

Example 1:
_tlist = list triggerOne 
Note: For local use in the trigger use thislist instead of list triggerOne.

Additional Information

See also:
See also needed

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

Notes

Bottom Section