setUserActionText: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
No edit summary
(mp effects)
Line 5: Line 5:


|0.50|= Game version
|0.50|= Game version
|arg= global |= Arguments in MP
|eff= local |= Effects in MP
____________________________________________________________________________________________
____________________________________________________________________________________________



Revision as of 15:06, 19 April 2014

Hover & click on the images for description

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 (does nothing, looks like leftover from TKOH)
textToolTip: String (does nothing, looks like leftover from TKOH)
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

Notes

Bottom Section