Class LM_Message

Version added: before 9.5
The LM_Message class is used to notify a script when certain actions take place, like a button being pressed or when a menu selection is made.

Methods:

Name Returns Description Version added
ClearKeys void before 9.5
CountKeys int32 before 9.5
GetBool bool before 9.5
GetColor rgb_color before 9.5
GetFloat real before 9.5
GetInt int32 before 9.5
GetKeyName char before 9.5
GetMessage LM_Message before 9.5
GetPoint LM_Point before 9.5
GetPtr void before 9.5
GetRect LM_Rect before 9.5
GetString char before 9.5
GetVector2 LM_Vector2 before 9.5
GetVector3 LM_Vector3 before 9.5
HasKey bool before 9.5
Remove void before 9.5
Set void before 9.5
SetPtr void before 9.5

Properties:

Name Type Description Version added
fWhat int32 The fWhat value of a message object indicates what the message is supposed to represent. For example, each button in a dialog should have been assigned a unique message value. When the dialog receives a message, this value tells it what to do. before 9.5