setUserActionText: Difference between revisions
Jump to navigation
Jump to search
Killzone Kid (talk | contribs) mNo edit summary |
Killzone Kid (talk | contribs) No edit summary |
||
Line 18: | Line 18: | ||
|p3= index: [[Number]] - Action id returned by [[addAction]] |= PARAMETER3 | |p3= index: [[Number]] - Action id returned by [[addAction]] |= PARAMETER3 | ||
|p4= text: [[String]] | |p4= text: [[String]] or [[Structured Text]] - Action title |= PARAMETER4 | ||
|p5= textDefault: [[String]] |= PARAMETER5 | |p5= textDefault: [[String]] |= PARAMETER5 | ||
Line 32: | Line 32: | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| [[addAction]] |= SEEALSO | | [[addAction]], [[removeAction]], [[removeAllActions]] |= SEEALSO | ||
| |= MPBEHAVIOUR | | |= MPBEHAVIOUR |
Revision as of 14:15, 24 August 2013
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 or Structured Text - Action title
- textDefault: String
- textToolTip: String
- Return Value:
- Nothing
Examples
- Example 1:
_id = player addAction ["Hello", ""]; player setUserActionText [_id, "Good Bye"];
Additional Information
- See also:
- addActionremoveActionremoveAllActions
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