buttonSetAction: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
mNo edit summary |
||
Line 1: | Line 1: | ||
{{Command|= Comments | |||
____________________________________________________________________________________________ | |||
| ofpr |= Game name | |||
|1.5|= Game version | |||
____________________________________________________________________________________________ | |||
| Assign action 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 | |||
____________________________________________________________________________________________ | |||
''' | | '''buttonSetAction''' |= Syntax | ||
|p1= [idc, action]: [[Array]] |= Parameter 1 | |||
| [[Nothing]] |= Return value | |||
____________________________________________________________________________________________ | |||
|x1= <pre>buttonSetAction [100, "[[player]] [[exec]] ""reply.sqs"""]</pre> |= Example 1 | |||
____________________________________________________________________________________________ | |||
| |= See also | |||
}} | |||
<h3 style="display:none">Notes</h3> | |||
<dl class="command_description"> | |||
<!-- Note Section BEGIN --> | |||
<!-- Note Section END --> | |||
</dl> | |||
<h3 style="display:none">Bottom Section</h3> | |||
[[Category:Scripting Commands|BUTTONSETACTION]] | |||
[[Category:Scripting Commands OFP 1.96|BUTTONSETACTION]] | |||
[[Category:Scripting Commands ArmA|BUTTONSETACTION]] | |||
Revision as of 22:14, 1 August 2006
Description
- Description:
- Assign action 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
Examples
- Example 1:
buttonSetAction [100, "[[player]] [[exec]] ""reply.sqs"""]
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