setUserActionText: Difference between revisions
Jump to navigation
Jump to search
(mp effects) |
Killzone Kid (talk | contribs) (removed redundand params (not available in A3)) |
||
Line 14: | Line 14: | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| unit '''setUserActionText''' [index, text | | unit '''setUserActionText''' [index, text] |= Syntax | ||
|p1= unit: [[Object]] |= PARAMETER1 | |p1= unit: [[Object]] |= PARAMETER1 | ||
|p2= [index, text | |p2= [index, text]: [[Array]] |= PARAMETER2 | ||
|p3= index: [[Number]] - Action id returned by [[addAction]] |= PARAMETER3 | |p3= index: [[Number]] - Action id returned by [[addAction]] |= PARAMETER3 | ||
|p4= text: [[String]] or [[Structured Text]] - Action title |= PARAMETER4 | |p4= text: [[String]] or [[Structured Text]] - Action title |= PARAMETER4 | ||
| [[Nothing]] |= RETURNVALUE | | [[Nothing]] |= RETURNVALUE |
Revision as of 21:38, 22 July 2014
Description
- Description:
- Changes user added action menu item text.
- Groups:
- Uncategorised
Syntax
- Syntax:
- unit setUserActionText [index, text]
- Parameters:
- unit: Object
- [index, text]: Array
- index: Number - Action id returned by addAction
- text: String or Structured Text - Action title
- 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