setUserActionText: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Some wiki formatting) |
Lou Montana (talk | contribs) m (Text replacement - "(\|[pr][0-9]+ *= *[^- ]*) *- *T([a-z ])" to "$1 - t$2") |
||
Line 18: | Line 18: | ||
|p2= actionIndex: [[Number]] - action id returned by [[addAction]] | |p2= actionIndex: [[Number]] - action id returned by [[addAction]] | ||
|p3= textMenu: [[String]] or [[Structured Text]] - | |p3= textMenu: [[String]] or [[Structured Text]] - text title shown in scroll action menu | ||
|p4= textWindowBackground: [[String]] or [[Structured Text]] - (Optional, default "") background text | |p4= textWindowBackground: [[String]] or [[Structured Text]] - (Optional, default "") background text |
Revision as of 15:51, 8 November 2023
Description
- Description:
- Changes user added action (see addAction) menu item text.
- Groups:
- Interaction
Syntax
- Syntax:
- object setUserActionText [actionIndex, textMenu, textWindowBackground, textWindowForeground]
- Parameters:
- object: Object - object the action is added to
- actionIndex: Number - action id returned by addAction
- textMenu: String or Structured Text - text title shown in scroll action menu
- since 1.62
- textWindowBackground: String or Structured Text - (Optional, default "") background text
- since 1.62
- textWindowForeground: String or Structured Text - (Optional, default "") foreground text
- Return Value:
- Nothing
Examples
- Example 1:
- Example 2:
Additional Information
- See also:
- actionIDs actionParams addAction inGameUISetEventHandler showHUD inputAction removeAction removeAllActions action
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