buttonSetAction

From Bohemia Interactive Community
Revision as of 15:00, 15 April 2006 by Planck (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

back to COMREF

buttonSetAction [idc, action]


Operand types:

[idc, action]: Array

Type of returned value:

Nothing

Description:

Assign action to control with id idc of topmost user dialog.

Action is any expression in this scripting language.

Can be used for buttons and active texts.


Example:

buttonSetAction [100, "player exec ""reply.sqs"""]