ctrlActivate: Difference between revisions
m (Text replacement - "|Game version=" to "|Game version=  |gr1= GUI Control |GROUP1=  ")  | 
				m (Text replacement - "|=GROUP1" to "|GROUP1=")  | 
				||
| Line 10: | Line 10: | ||
|gr1= GUI Control |=  | |gr1= GUI Control |GROUP1=  | ||
____________________________________________________________________________________________  | ____________________________________________________________________________________________  | ||
Revision as of 14:03, 24 September 2020
Description
- Description:
 - Launch actions attached to given (button based) control. 
Command only triggers action entry described in control config and engine-based actions (cancel or ok codes) and will not trigger button related User Interface Event Handlers.
Command ignores control disabled state. (Example 2) - Groups:
 - GUI Control
 
Syntax
Examples
- Example 1:
 ctrlActivate _control- Example 2:
 _control ctrlEnable false; ctrlActivate _control; // Action fired.
Additional Information
- See also:
 - allControlsallDisplayscontrolsGroupCtrlctrlDeletectrlModelctrlSetModelctrlPositionctrlSetPositionctrlClassNamectrlModelScalectrlSetModelScalectrlModelDirAndUpctrlSetModelDirAndUpdisplayParent
 
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