setUserActionText
Jump to navigation
Jump to search
Description
- Description:
- Changes user added action menu item text.
- Groups:
- Uncategorised
Syntax
- Syntax:
- unit setUserActionText [index, text, textDefault, textToolTip]
- Parameters:
- unit: Object
- [index, text, textDefault, textToolTip]: Array
- index: Number - Action id returned by addAction
- text: String - Normal text or Structured Text
- textDefault: String
- textToolTip: String
- Return Value:
- Nothing
Examples
- Example 1:
_id = player addAction ["Hello", ""]; player setUserActionText [_id, "Good Bye"]
Additional Information
- See also:
- addAction
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