buttonAction: Difference between revisions

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


| ofpr |= Game name


<h2 style="color:#000066"> '''buttonAction ''idc'''''</h2>
|1.5|= Game version
____________________________________________________________________________________________


| Return action assigned to control with id idc of topmost user [[dialog]]. Action is any expression in this scripting language. Can be used for buttons and active texts. |= Description
____________________________________________________________________________________________


'''Operand types:'''
| '''buttonAction''' |= Syntax


'''idc:''' [[Number]]
|p1= idc: [[Number]] |= Parameter 1


'''Type of returned value:'''
| [[String]] |= Return value
____________________________________________________________________________________________
 
|x1= <pre>_action = buttonAction 100</pre> |= Example 1
____________________________________________________________________________________________


[[String]]
|  |= See also


'''Compatibility:'''
}}


Added in version '''1.50'''
<h3 style="display:none">Notes</h3>
<dl class="command_description">
<!-- Note Section BEGIN -->


'''Description:'''
<!-- Note Section END -->
</dl>


Return action assigned to control with id '''idc''' of topmost user [[dialog]].
<h3 style="display:none">Bottom Section</h3>


Action is any expression in this scripting language.
[[Category:Scripting Commands|BUTTONACTION]]
 
[[Category:Scripting Commands OFP 1.96|BUTTONACTION]]
Can be used for buttons and active texts.
[[Category:Scripting Commands ArmA|BUTTONACTION]]
 
 
'''Example:'''
 
_action = '''buttonAction''' 100

Revision as of 23:11, 1 August 2006

Hover & click on the images for description

Description

Description:
Return action assigned to control with id idc of topmost user dialog. Action is any expression in this scripting language. Can be used for buttons and active texts.
Groups:
Uncategorised

Syntax

Syntax:
buttonAction
Parameters:
idc: Number
Return Value:
String

Examples

Example 1:
_action = buttonAction 100

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